braket.device_schema.gate_model_qpu_paradigm_properties_v1 module

class braket.device_schema.gate_model_qpu_paradigm_properties_v1.GateModelQpuParadigmProperties[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase

This class defines the properties that are specific to ionq device

connectivity

defines the connectivity if a ionq device. tells the graph and connection type.

qubitCount

number of qubits ionq device contains

nativeGateSet

list of native gates

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 = None
connectivity: DeviceConnectivity = None
qubitCount: int = None
nativeGateSet: List[str] = None