Skip to main content

quantum_capabilities_region_qpus

Creates, updates, deletes, gets or lists a quantum_capabilities_region_qpus resource.

Overview​

Namequantum_capabilities_region_qpus
TypeResource
Idovh.cloud.quantum_capabilities_region_qpus

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstringUnique identifier of the QPU flavor
namestringName of the QPU flavor
descriptionstringShort description of the QPU flavor
qubitsintegerQubits capacity of the QPU flavor

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectqpu_flavor_id, region, service_nameGet QPU Flavor Information
listselectregion, service_namecompatible_with_frameworkList 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.

NameDatatypeDescription
api_hoststringThe 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_idstringQpu flavor ID (wire: qpuFlavorId)
regionstringRegion
service_namestringThe Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set.
compatible_with_frameworkstringOnly list QPU flavors that are compatible with this framework (wire: compatibleWithFramework)

SELECT examples​

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
;