Skip to main content
For emulate on Azure Quantum (IonQ ionq.qpu.* targets), see IonQ hardware noise simulation on Azure Quantum (emulate) in the execution user guide.

AzureBackendPreferences

This class inherits from BackendPreferences. This is where you specify Azure Quantum preferences. See usage in the Azure Backend Documentation. Attributes:
NameTypeDescription
locationstrAzure personal resource region. Defaults to "East US".
credentialsOptional[AzureCredential]The service principal credential to access personal quantum workspace. Defaults to None.
ionq_error_mitigation_flagOptional[bool]Error mitigation configuration upon running on IonQ via Azure. Defaults to False.
emulateboolIf True, request IonQ hardware noise simulation on Azure Quantum when backend_name is an IonQ QPU (ionq.qpu.*). If the target is not an IonQ QPU (including ionq.simulator and non-IonQ providers), the flag has no effect. Defaults to False.

backend_service_provider

backend_service_provider: ProviderTypeVendor.AZURE_QUANTUM = pydantic.Field(default=(ProviderVendor.AZURE_QUANTUM))

location

location: str = pydantic.Field(default='East US', description='Azure personal resource region')

credentials

credentials: AzureCredential | None = pydantic.Field(default=None, description='The service principal credential to access personal quantum workspace')

ionq_error_mitigation_flag

ionq_error_mitigation_flag: bool | None = pydantic.Field(default=False, description='Error mitigation configuration upon running on IonQ via Azure.')

emulate

emulate: bool = pydantic.Field(default=False, description='If True, enable IonQ hardware noise simulation on Azure for IonQ QPU targets (ionq.qpu.*). No effect for ionq.simulator or non-IonQ Azure targets.')

run_via_classiq

run_via_classiq: bool

AzureCredential

Represents the credentials and configuration required to authenticate with Azure services. Attributes:
NameTypeDescription
tenant_idstrAzure Tenant ID used to identify the directory in which the application is registered.
client_idstrAzure Client ID, also known as the application ID, which is used to authenticate the application.
client_secretstrAzure Client Secret associated with the application, used for authentication.
resource_idpydantic_backend.PydanticAzureResourceIDTypeAzure Resource ID, including the subscription ID, resource group, and workspace, typically used for personal resources.

tenant_id

tenant_id: str = pydantic.Field(description='Azure Tenant ID')

client_id

client_id: str = pydantic.Field(description='Azure Client ID')

client_secret

client_secret: str = pydantic.Field(description='Azure Client Secret')

resource_id

resource_id: pydantic_backend.PydanticAzureResourceIDType = pydantic.Field(description='Azure Resource ID (including Azure subscription ID, resource group and workspace), for personal resource')

model_config

model_config = SettingsConfigDict(title='Azure Service Principal Credential', env_prefix='AZURE_', case_sensitive=False, extra='allow')

AzureQuantumBackendNames

AzureQuantum backend names which Classiq Supports running on. Attributes:

IONQ_ARIA_1

IONQ_ARIA_1 = 'ionq.qpu.aria-1'

IONQ_ARIA_2

IONQ_ARIA_2 = 'ionq.qpu.aria-2'

IONQ_QPU

IONQ_QPU = 'ionq.qpu'

IONQ_QPU_FORTE

IONQ_QPU_FORTE = 'ionq.qpu.forte-1'

IONQ_SIMULATOR

IONQ_SIMULATOR = 'ionq.simulator'

MICROSOFT_ESTIMATOR

MICROSOFT_ESTIMATOR = 'microsoft.estimator'

MICROSOFT_FULLSTATE_SIMULATOR

MICROSOFT_FULLSTATE_SIMULATOR = 'microsoft.simulator.fullstate'

RIGETTI_SIMULATOR

RIGETTI_SIMULATOR = 'rigetti.sim.qvm'

RIGETTI_ANKAA2

RIGETTI_ANKAA2 = 'rigetti.qpu.ankaa-2'

RIGETTI_ANKAA9

RIGETTI_ANKAA9 = 'rigetti.qpu.ankaa-9q-1'

QCI_MACHINE1

QCI_MACHINE1 = 'qci.machine1'

QCI_NOISY_SIMULATOR

QCI_NOISY_SIMULATOR = 'qci.simulator.noisy'

QCI_SIMULATOR

QCI_SIMULATOR = 'qci.simulator'

QUANTINUUM_API_VALIDATOR1_1

QUANTINUUM_API_VALIDATOR1_1 = 'quantinuum.sim.h1-1sc'

QUANTINUUM_API_VALIDATOR1_2

QUANTINUUM_API_VALIDATOR1_2 = 'quantinuum.sim.h1-2sc'

QUANTINUUM_API_VALIDATOR2_1

QUANTINUUM_API_VALIDATOR2_1 = 'quantinuum.sim.h2-1sc'

QUANTINUUM_QPU1_1

QUANTINUUM_QPU1_1 = 'quantinuum.qpu.h1-1'

QUANTINUUM_QPU1_2

QUANTINUUM_QPU1_2 = 'quantinuum.qpu.h1-2'

QUANTINUUM_SIMULATOR1_1

QUANTINUUM_SIMULATOR1_1 = 'quantinuum.sim.h1-1e'

QUANTINUUM_SIMULATOR1_2

QUANTINUUM_SIMULATOR1_2 = 'quantinuum.sim.h1-2e'

QUANTINUUM_QPU2

QUANTINUUM_QPU2 = 'quantinuum.qpu.h2-1'

QUANTINUUM_SIMULATOR2

QUANTINUUM_SIMULATOR2 = 'quantinuum.sim.h2-1e'