Skip to content

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.
from classiq import IonqBackendPreferences

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

Opening info tab

Supported Backends

Included hardware:

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

Included simulators:

  • "simulator"