Skip to content

IonQ

IonQ's quantum computers are universal, gate-based devices based on the trapped ion framework. Specifically they use trapped ytterbium ions that are modified with squences of laser pulses to achieve computation. IonQ's quantum hardware is accessed through Amazon Braket. Find out more about IonQ's hardware here.

IonQ provides several quantum computing devices, including IonQ Harmony with up to 11 qubits, IonQ Aria featuring up to 25 qubits, and IonQ Forte, their most advanced system with 32 qubits.

Using Environment Variables

You can set your AWS credentials via environment variables to avoid passing them during initialization:

export LUNA_AWS_ACCESS_KEY=your_aws_access_key
export LUNA_AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key

Initialization

Python
from luna_quantum.solve.parameters.backends.aws.ionq import IonQ

backend = IonQ(
    aws_access_key=None,
    aws_secret_access_key=None,
    aws_session_token=None,
    device='Aria1'
)

Usage

Python
from luna_quantum.backends import IonQ

backend = IonQ()