braket.device_schema.gate_model_parameters_v1 module¶
-
class
braket.device_schema.gate_model_parameters_v1.
GateModelParameters
[source]¶ Bases:
braket.schema_common.schema_base.BraketSchemaBase
Defines parameters common to all gate model devices.
-
qubitCount
¶ Number of qubits used by the circuit.
-
disableQubitRewiring
¶ Whether to run the circuit with the exact qubits chosen, without any rewiring downstream. If
True
, no qubit rewiring is allowed; ifFalse
, qubit rewiring is allowed.
Examples
>>> import json >>> input_json = { ... "braketSchemaHeader": { ... "name": "braket.device_schema.gate_model_parameters", ... "version": "1", ... }, ... "qubitCount": 1, ... "disableQubitRewiring": True ... } >>> GateModelParameters.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.
-