LeapHybridCQMSamplerClient¶
- class LeapHybridCQMSamplerClient¶
Bases:
AmplifyClient
Methods
Attributes
acceptable_degrees property
compress_qpu_problem_data property
parameters property
properties property
proxy property
solver property
solver_names property
token property
url property
version property
write_request_data property
write_response_data property
- __init__(self) None ¶
- __init__(self, token: str = '', solver: str = '', url: str = '', proxy: str | None = None) None
__init__
- solve( ) SampleSet ¶
- solve(
- self,
- constraint: Constraint | ConstraintList,
- dry_run: Literal[False] = False,
- solve(
- self,
- objective: Poly | Matrix,
- constraint: Constraint | ConstraintList,
- dry_run: Literal[False] = False,
- solve(self, objective: Poly | Matrix, dry_run: Literal[True]) None
- solve(self, constraint: Constraint | ConstraintList, dry_run: Literal[True]) None
- solve(
- self,
- objective: Poly | Matrix,
- constraint: Constraint | ConstraintList,
- dry_run: Literal[True],
solve
Overload 1.
- Args:
objective (amplify.Poly | amplify.Matrix)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
dimod.sampleset.SampleSet:
Overload 2.
- Args:
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
dimod.sampleset.SampleSet:
Overload 3.
- Args:
objective (amplify.Poly | amplify.Matrix)
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False
.
- Returns:
dimod.sampleset.SampleSet:
Overload 4.
- Args:
objective (amplify.Poly | amplify.Matrix)
dry_run (typing.Literal[True])
Overload 5.
- Args:
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[True])
Overload 6.
- Args:
objective (amplify.Poly | amplify.Matrix)
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[True])
- property acceptable_degrees¶
acceptable_degrees property
- Return type:
- property parameters¶
parameters property
- Return type: