braket.device_schema.gate_model_qpu_paradigm_properties_v1 module
- class braket.device_schema.gate_model_qpu_paradigm_properties_v1.GateModelQpuParadigmProperties(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.device_schema.gate_model_qpu_paradigm_properties', version='1'), connectivity: DeviceConnectivity, qubitCount: int, nativeGateSet: List[str])[source]
Bases:
BraketSchemaBase
This class defines the properties that are specific to gate model devices
- connectivity
defines the connectivity if a gate model device. tells the graph and connection type.
- qubitCount
number of qubits the gate model device contains
- Type:
int
- nativeGateSet
list of native gates
- Type:
List[str]
Examples
>>> import json >>> input_json = { ... "braketSchemaHeader": { ... "name": "braket.device_schema.gate_model_qpu_paradigm_properties", ... "version": "1", ... }, ... "qubitCount": 32, ... "nativeGateSet": ["ccnot", "cy"], ... "connectivity": { ... "fullyConnected": False, ... "connectivityGraph": {"1": ["2", "3"]}, ... }, ... } >>> GateModelQpuParadigmProperties.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
- connectivity: DeviceConnectivity
- qubitCount: int
- nativeGateSet: List[str]