Qubo ¶
The result of the QuboTranslator.
A wrapper around qubo matrices that holds all relevant metadata, e.g., the model offset.
matrix property ¶
The actual QUBO matrix.
Returns:
| Type | Description |
|---|---|
NDArray | A square NumPy array representing the QUBO matrix derived from the model's objective. |
name property ¶
The name of the model the QUBO matrix was generated from.
Returns:
| Type | Description |
|---|---|
str | The model name. |
offset property ¶
The constant offset of the original model passed to the QuboTranslator.
Returns:
| Type | Description |
|---|---|
float | The constant offset of the model. |