Decomposer ¶
Bases: BaseModel
Configuration for breaking down larger problems into subproblems for DWave QPUs.
Attributes:
| Name | Type | Description |
|---|---|---|
size | int, default=10 | Nominal number of variables in each subproblem. The actual subproblem can be smaller depending on other parameters (e.g., |
min_gain | Optional[float], default=None | Minimum required energy reduction threshold for including a variable in the subproblem. A variable is included only if flipping its value reduces the BQM energy by at least this amount. If None, no minimum gain is required. |
rolling | bool, default=True | Controls variable selection strategy for successive calls on the same problem:
|
rolling_history | float, default=1.0 | Fraction of the problem size (range 0.0 to 1.0) that participates in the rolling selection. Once this fraction of variables has been processed, subproblem unrolling is reset. Min: 0.0, Max: 1.0 |
silent_rewind | bool, default=True | Controls behavior when resetting/rewinding the subproblem generator:
|
traversal | Literal["energy", "bfs", "pfs"], default="energy" | Algorithm used to select a subproblem of
|