quantum_capabilities_region_qpus
Creates, updates, deletes, gets or lists a quantum_capabilities_region_qpus resource.
Overview​
| Name | quantum_capabilities_region_qpus |
| Type | Resource |
| Id | ovh.cloud.quantum_capabilities_region_qpus |
Fields​
The following fields are returned by SELECT queries:
- get
- list
successful operation
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier of the QPU flavor |
name | string | Name of the QPU flavor |
description | string | Short description of the QPU flavor |
qubits | integer | Qubits capacity of the QPU flavor |
Quantum QPU flavor object
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier of the QPU flavor |
name | string | Name of the QPU flavor |
description | string | Short description of the QPU flavor |
qubits | integer | Qubits capacity of the QPU flavor |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | qpu_flavor_id, region, service_name | Get QPU Flavor Information | |
list | select | region, service_name | compatible_with_framework | List QPU Flavors |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
qpu_flavor_id | string | Qpu flavor ID (wire: qpuFlavorId) |
region | string | Region |
service_name | string | The Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set. |
compatible_with_framework | string | Only list QPU flavors that are compatible with this framework (wire: compatibleWithFramework) |
SELECT examples​
- get
- list
Get QPU Flavor Information
SELECT
id,
name,
description,
qubits
FROM ovh.cloud.quantum_capabilities_region_qpus
WHERE qpu_flavor_id = '{{ qpu_flavor_id }}' -- required
AND region = '{{ region }}' -- required
AND service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;
List QPU Flavors
SELECT
id,
name,
description,
qubits
FROM ovh.cloud.quantum_capabilities_region_qpus
WHERE region = '{{ region }}' -- required
AND service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
AND compatible_with_framework = '{{ compatible_with_framework }}'
;