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 RunViaClassiqBackendPreferences. This is where you specify Azure Quantum preferences. See usage in the Azure Backend Documentation. Attributes:

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 = pydantic.Field(default=False, description="Run via Classiq's credentials while using user's allocated budget.")

AzureCredential

Represents the credentials and configuration required to authenticate with Azure services. Attributes:

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_2

IONQ_QPU

IONQ_QPU_FORTE

IONQ_SIMULATOR

MICROSOFT_ESTIMATOR

MICROSOFT_FULLSTATE_SIMULATOR

RIGETTI_SIMULATOR

RIGETTI_ANKAA2

RIGETTI_ANKAA9

QCI_MACHINE1

QCI_NOISY_SIMULATOR

QCI_SIMULATOR

QUANTINUUM_API_VALIDATOR1_1

QUANTINUUM_API_VALIDATOR1_2

QUANTINUUM_API_VALIDATOR2_1

QUANTINUUM_QPU1_1

QUANTINUUM_QPU1_2

QUANTINUUM_SIMULATOR1_1

QUANTINUUM_SIMULATOR1_2

QUANTINUUM_QPU2

QUANTINUUM_SIMULATOR2