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

# Execution on IonQ Quantum Cloud

The Classiq executor supports execution on IonQ hardware and simulator.

## Usage

Execution on IonQ requires a valid IonQ API key.

IonQ Backend Preferences configuration options:

* **Error mitigation:** `bool`
  * Valid only for IonQ hardware. Defaults to `False`.
* **emulate:** `bool` (default `False`)
  * If `True`, run on the IonQ simulator with a noise model derived from the backend name. You do not pass a noise model; it is inferred from the QPU name (e.g. backend `qpu.forte-1` uses noise model `forte-1`). Only valid when the backend is a QPU (e.g. `qpu.forte-1`, `qpu.forte-1`). When `emulate=True`, the executor uses the simulator and applies the corresponding hardware noise model.

<Tabs>
  <Tab title="SDK (IonqBackendPreferences)">
    [comment]: DO_NOT_TEST

    ```python  theme={null}
    from classiq import IonqBackendPreferences

    preferences = IonqBackendPreferences(
        backend_name="qpu.forte-1",
        api_key="A Valid IonQ API key",
        error_mitigation=True,
        emulate=True,
    )
    ```
  </Tab>

  <Tab title="IDE">
        <img src="https://mintcdn.com/nightlyclassiq/XtLEtQ7Q00k84LG2/user-guide/resources/excution_ionq_login.png?fit=max&auto=format&n=XtLEtQ7Q00k84LG2&q=85&s=de1b9a0d0e10abfa040b43c02b6127ee" alt="Opening info tab" width="592" height="414" data-path="user-guide/resources/excution_ionq_login.png" />
  </Tab>
</Tabs>

### Supported Backends

Included hardware:

* "qpu.aria-2"
* "qpu.forte-1"
* "qpu.forte-enterprise-1"
* "qpu.forte-enterprise-2"

Included simulators:

* "simulator"


Built with [Mintlify](https://mintlify.com).