braket.device_schema.continuous_variable_qpu_paradigm_properties_v1 module
- class braket.device_schema.continuous_variable_qpu_paradigm_properties_v1.ContinuousVariableQpuParadigmProperties(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.device_schema.continuous_variable_qpu_paradigm_properties', version='1'), modes: dict[str, float], layout: str, compiler: list[str], supportedLanguages: list[str], compilerDefault: str, nativeGateSet: list[str], gateParameters: dict[str, list[list[float]]], target: str)[source]
Bases:
BraketSchemaBaseThis class defines the properties that are specific to continuous variable (CV) devices
- nativeGateSet
list of native gates
- Type:
list[str]
Examples
>>> import json >>> input_json = { ... "braketSchemaHeader": { ... "name": "braket.device_schema.continuous_variable_qpu_paradigm_properties", ... "version": "1", ... }, ... "nativeGateSet": ["XGate", "BSGate"], ... "modes": { ... "spatial": 1 ... } ... "layout": "some layout", ... "compiler": ["borealis"], ... "supportedLanguages": ["blackbird:1.0"], ... "compilerDefault": "borealis", ... "nativeGateSet": ["XGate"] ... "gateParameters": { ... "s": [ ... [ ... 0.0, ... 2.0 ... ] ... ], ... "r0": [ ... [ ... -1.5707963267948966, ... 1.5707963267948966 ... ] ... ] ... } ... } >>> ContinuousVariableQpuParadigmProperties.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
- modes: dict[str, float]
- layout: str
- compiler: list[str]
- supportedLanguages: list[str]
- compilerDefault: str
- nativeGateSet: list[str]
- gateParameters: dict[str, list[list[float]]]
- target: str