braket.device_schema.dwave.dwave_advantage_device_level_parameters_v1 module

class braket.device_schema.dwave.dwave_advantage_device_level_parameters_v1.DwaveAdvantageDeviceLevelParameters(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.device_schema.dwave.dwave_advantage_device_level_parameters', version='1'), annealingOffsets: List[float] | None = None, annealingSchedule: List[List[float]] | None = None, annealingDuration: ConstrainedFloatValue | None = None, autoScale: bool | None = None, compensateFluxDrift: bool | None = None, fluxBiases: List[float] | None = None, initialState: List[int] | None = None, maxResults: ConstrainedIntValue | None = None, programmingThermalizationDuration: int | None = None, readoutThermalizationDuration: int | None = None, reduceIntersampleCorrelation: bool | None = None, reinitializeState: bool | None = None, resultFormat: ResultFormat | None = None, spinReversalTransformCount: ConstrainedIntValue | None = None)[source]

Bases: BraketSchemaBase

This is the description of the D-Wave parameters

annealingOffsets

Provides offsets to annealing paths, per qubit.

Type:

Optional[List[float]]

annealingSchedule

Introduces variations to the global anneal schedule.

Type:

Optional[List[List[float]]]

annealingDuration

Sets the duration (in microseconds) of quantum annealing time, per read.

Type:

Optional[int] = Field(gt=1)

autoScale

Indicates whether h and J values are rescaled.

Type:

Optional[bool]

compensateFluxDrift

Boolean flag indicating whether the D-Wave system compensates for flux drift.

Type:

Optional[bool]

fluxBiases

List of flux-bias offset values with which to calibrate a chain. Often required when using the extended J range to create a strongly coupled chain for certain embeddings.

Type:

Optional[List[float]]

initialState

When using the reverse annealing feature, you must supply the initial state to which the system is set.

Type:

Optional[List[int]]

maxResults

Specifies the maximum number of answers returned from the solver.

Type:

Optional[int] = Field(gt=1)

programmingThermalizationDuration

Gives the time (in microseconds) to wait after programming the QPU for it to cool back to base temperature (i.e., post-programming thermalization time).

Type:

Optional[int]

readoutThermalizationDuration

Gives the time (in microseconds) to wait after each state is read from the QPU for it to cool back to base temperature (i.e., post-readout thermalization time).

Type:

Optional[int]

reduceIntersampleCorrelation

Reduces sample-to-sample correlations caused by the spin-bath polarization effect by adding a delay between reads.

Type:

Optional[bool]

reinitializeState

When using the reverse annealing feature, you must supply the initial state to which the system is set.

Type:

Optional[bool]

resultFormat

Type of the result format returned by the QPU.

Type:

Optional[ResultFormat]

spinReversalTransformCount

Specifies the number of spin-reversal transforms to perform.

Type:

Optional[int] = Field(gt=0)

Examples

>>> import json
>>> input_json = {
...    "braketSchemaHeader": {
...        "name": "braket.device_schema.dwave.dwave_advantage_device_level_parameters",
...        "version": "1",
...    }
... }
>>> DwaveAdvantageDeviceLevelParameters.parse_raw_schema(json.dumps(input_json))

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

braketSchemaHeader: BraketSchemaHeader
annealingOffsets: List[float] | None
annealingSchedule: List[List[float]] | None
annealingDuration: float | None
autoScale: bool | None
compensateFluxDrift: bool | None
fluxBiases: List[float] | None
initialState: List[int] | None
maxResults: int | None
programmingThermalizationDuration: int | None
readoutThermalizationDuration: int | None
reduceIntersampleCorrelation: bool | None
reinitializeState: bool | None
resultFormat: ResultFormat | None
spinReversalTransformCount: int | None