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:| Name | Type | Description |
|---|---|---|
location | str | Azure personal resource region. Defaults to "East US". |
credentials | Optional[AzureCredential] | The service principal credential to access personal quantum workspace. Defaults to None. |
ionq_error_mitigation_flag | Optional[bool] | Error mitigation configuration upon running on IonQ via Azure. Defaults to False. |
emulate | bool | If 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:| Name | Type | Description |
|---|---|---|
tenant_id | str | Azure Tenant ID used to identify the directory in which the application is registered. |
client_id | str | Azure Client ID, also known as the application ID, which is used to authenticate the application. |
client_secret | str | Azure Client Secret associated with the application, used for authentication. |
resource_id | pydantic_backend.PydanticAzureResourceIDType | Azure 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')