Skip to content

Execution on IonQ Simulators

The executor supports execution on IonQ hardware and simulator.

Usage

Execution on IonQ requires a valid IonQ API key.

{
    "backend_preferences": {
        "backend_service_provider": "IonQ",
        "backend_name": "Name of requested simulator or hardware",
        "api_key": "A Valid IonQ API key"
    }
}
from classiq.interface.backend.backend_preferences import IonqBackendPreferences

preferences = IonqBackendPreferences(
    backend_name="Name of requested simulator or hardware",
    api_key="A Valid IonQ API key",
)

Supported backends

  • "simulator"
  • "qpu"