> ## Documentation Index
> Fetch the complete documentation index at: https://prod-mint.classiq.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure

For **`emulate`** on Azure Quantum (IonQ `ionq.qpu.*` targets), see [IonQ hardware noise simulation on Azure Quantum (emulate)](../../user-guide/execution/cloud-providers/azure-backends.md#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](https://docs.classiq.io/latest/sdk-reference/providers/Azure/).

**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')`

### AzureQuantumBackendNames

AzureQuantum backend names which Classiq Supports running on.

**Attributes:**

| Name                                                              | Type | Description |
| ----------------------------------------------------------------- | ---- | ----------- |
| [IONQ\_ARIA\_1](#ionq_aria_1)                                     |      |             |
| [IONQ\_ARIA\_2](#ionq_aria_2)                                     |      |             |
| [IONQ\_QPU](#ionq_qpu)                                            |      |             |
| [IONQ\_QPU\_FORTE](#ionq_qpu_forte)                               |      |             |
| [IONQ\_SIMULATOR](#ionq_simulator)                                |      |             |
| [MICROSOFT\_ESTIMATOR](#microsoft_estimator)                      |      |             |
| [MICROSOFT\_FULLSTATE\_SIMULATOR](#microsoft_fullstate_simulator) |      |             |
| [RIGETTI\_SIMULATOR](#rigetti_simulator)                          |      |             |
| [RIGETTI\_ANKAA2](#rigetti_ankaa2)                                |      |             |
| [RIGETTI\_ANKAA9](#rigetti_ankaa9)                                |      |             |
| [QCI\_MACHINE1](#qci_machine1)                                    |      |             |
| [QCI\_NOISY\_SIMULATOR](#qci_noisy_simulator)                     |      |             |
| [QCI\_SIMULATOR](#qci_simulator)                                  |      |             |
| [QUANTINUUM\_API\_VALIDATOR1\_1](#quantinuum_api_validator1_1)    |      |             |
| [QUANTINUUM\_API\_VALIDATOR1\_2](#quantinuum_api_validator1_2)    |      |             |
| [QUANTINUUM\_API\_VALIDATOR2\_1](#quantinuum_api_validator2_1)    |      |             |
| [QUANTINUUM\_QPU1\_1](#quantinuum_qpu1_1)                         |      |             |
| [QUANTINUUM\_QPU1\_2](#quantinuum_qpu1_2)                         |      |             |
| [QUANTINUUM\_SIMULATOR1\_1](#quantinuum_simulator1_1)             |      |             |
| [QUANTINUUM\_SIMULATOR1\_2](#quantinuum_simulator1_2)             |      |             |
| [QUANTINUUM\_QPU2](#quantinuum_qpu2)                              |      |             |
| [QUANTINUUM\_SIMULATOR2](#quantinuum_simulator2)                  |      |             |

### IONQ\_ARIA\_1

```python theme={null}
IONQ_ARIA_1 = 'ionq.qpu.aria-1'
```

### IONQ\_ARIA\_2

```python theme={null}
IONQ_ARIA_2 = 'ionq.qpu.aria-2'
```

### IONQ\_QPU

```python theme={null}
IONQ_QPU = 'ionq.qpu'
```

### IONQ\_QPU\_FORTE

```python theme={null}
IONQ_QPU_FORTE = 'ionq.qpu.forte-1'
```

### IONQ\_SIMULATOR

```python theme={null}
IONQ_SIMULATOR = 'ionq.simulator'
```

### MICROSOFT\_ESTIMATOR

```python theme={null}
MICROSOFT_ESTIMATOR = 'microsoft.estimator'
```

### MICROSOFT\_FULLSTATE\_SIMULATOR

```python theme={null}
MICROSOFT_FULLSTATE_SIMULATOR = 'microsoft.simulator.fullstate'
```

### RIGETTI\_SIMULATOR

```python theme={null}
RIGETTI_SIMULATOR = 'rigetti.sim.qvm'
```

### RIGETTI\_ANKAA2

```python theme={null}
RIGETTI_ANKAA2 = 'rigetti.qpu.ankaa-2'
```

### RIGETTI\_ANKAA9

```python theme={null}
RIGETTI_ANKAA9 = 'rigetti.qpu.ankaa-9q-1'
```

### QCI\_MACHINE1

```python theme={null}
QCI_MACHINE1 = 'qci.machine1'
```

### QCI\_NOISY\_SIMULATOR

```python theme={null}
QCI_NOISY_SIMULATOR = 'qci.simulator.noisy'
```

### QCI\_SIMULATOR

```python theme={null}
QCI_SIMULATOR = 'qci.simulator'
```

### QUANTINUUM\_API\_VALIDATOR1\_1

```python theme={null}
QUANTINUUM_API_VALIDATOR1_1 = 'quantinuum.sim.h1-1sc'
```

### QUANTINUUM\_API\_VALIDATOR1\_2

```python theme={null}
QUANTINUUM_API_VALIDATOR1_2 = 'quantinuum.sim.h1-2sc'
```

### QUANTINUUM\_API\_VALIDATOR2\_1

```python theme={null}
QUANTINUUM_API_VALIDATOR2_1 = 'quantinuum.sim.h2-1sc'
```

### QUANTINUUM\_QPU1\_1

```python theme={null}
QUANTINUUM_QPU1_1 = 'quantinuum.qpu.h1-1'
```

### QUANTINUUM\_QPU1\_2

```python theme={null}
QUANTINUUM_QPU1_2 = 'quantinuum.qpu.h1-2'
```

### QUANTINUUM\_SIMULATOR1\_1

```python theme={null}
QUANTINUUM_SIMULATOR1_1 = 'quantinuum.sim.h1-1e'
```

### QUANTINUUM\_SIMULATOR1\_2

```python theme={null}
QUANTINUUM_SIMULATOR1_2 = 'quantinuum.sim.h1-2e'
```

### QUANTINUUM\_QPU2

```python theme={null}
QUANTINUUM_QPU2 = 'quantinuum.qpu.h2-1'
```

### QUANTINUUM\_SIMULATOR2

```python theme={null}
QUANTINUUM_SIMULATOR2 = 'quantinuum.sim.h2-1e'
```
