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:
BraketSchemaBase
This 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