braket.device_schema.quera.quera_device_capabilities_v1 module

class braket.device_schema.quera.quera_device_capabilities_v1.QueraDeviceCapabilities[source]

Bases: braket.schema_common.schema_base.BraketSchemaBase, braket.device_schema.device_capabilities.DeviceCapabilities

This defines the capabilities of a Quera device.

provider

Properties specific to Quera provider

Examples

>>> import json
>>> input_json = {
...    "braketSchemaHeader": {
...        "name": "braket.device_schema.quera.quera_device_capabilities",
...        "version": "1",
...    },
...    "service": {
...        "braketSchemaHeader": {
...            "name": "braket.device_schema.device_service_properties",
...            "version": "1",
...        },
...        "executionWindows": [
...            {
...                "executionDay": "Everyday",
...                "windowStartHour": "09:00",
...                "windowEndHour": "10:00",
...            }
...        ],
...        "shotsRange": [1, 100000],
...        "deviceCost": {
...             "price": 0.25,
...             "unit": "minute"
...         },
...         "deviceDocumentation": {
...             "imageUrl": "image_url",
...             "summary": "Summary on the device",
...             "externalDocumentationUrl": "external doc link",
...         },
...         "deviceLocation": "us-east-1",
...         "updatedAt": "2022-05-15T19:28:02.869136"
...    },
...    "action": {
...        "braket.ir.ahs.program": {
...            "actionType": "braket.ir.ahs.program",
...            "version": ["1"],
...        }
...    },
...    "paradigm": {QueraAhsParadigmProperties.schema_json()},
...    "deviceParameters": ""
... }
>>> QueraDeviceCapabilities.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.