IsingQuadraticModel#

class IsingQuadraticModel#

Bases: QuadraticModel

Methods

Attributes

__init__(arg0, arg1=None, *, method: QuadratizationMethod = IshikawaKZFD)#
check_constraints(values: Values) list[tuple[Constraint, bool]]#
__abstractmethods__ = frozenset({})#
__deprecated__ = 'IsingQuadraticModel is deprecated since amplify v1.0.0 and will no longer support in the near future.\nUse Model instead. Please see the migration guide for details: https://amplify.fixstars.com/docs/amplify/v1/migration.html'#
__dict__ = mappingproxy({'__module__': 'amplify._backward', '_intermediate_degrees': <classmethod(<function IsingQuadraticModel._intermediate_degrees>)>, '__doc__': None, '__abstractmethods__': frozenset(), '_abc_impl': <_abc._abc_data object>, '__new__': <staticmethod(<function object.__new__>)>, '__deprecated__': 'IsingQuadraticModel is deprecated since amplify v1.0.0 and will no longer support in the near future.\nUse Model instead. Please see the migration guide for details: https://amplify.fixstars.com/docs/amplify/v1/migration.html', '__annotations__': {'__intermediate_model': 'Model | None', '_intermediate_poly': 'Poly | None', '_intermediate_mapping': 'Result.ModelConversion.IntermediateMapping | None'}})#
__slots__ = ()#
__weakref__#

list of weak references to the object (if defined)

property input_constraints: ConstraintList#
property input_matrix: Matrix | None#
property input_poly: Poly | None#
property logical_mapping: IntermediateMapping#
property logical_matrix: Matrix | None#
property logical_model_matrix#
property logical_model_poly: Poly#
property logical_poly: Poly | None#
property num_input_vars: int#
property num_logical_vars: int#
property substitution_multiplier: float#