PennyLane-IonQ Plugin



The PennyLane-IonQ plugin provides the ability to use IonQ’s ion-trap quantum computing backends with PennyLane.

PennyLane provides open-source tools for quantum machine learning, quantum computing, quantum chemistry, and hybrid quantum-classical computing.

IonQ is a ion-trap quantum computing company offering access to quantum computing devices over the cloud.

Once the PennyLane-IonQ plugin is installed, the two provided IonQ devices can be accessed straight away in PennyLane, without the need to import any additional packages.


PennyLane-IonQ provides two IonQ devices for PennyLane:

Both devices support the same operations, including IonQ’s custom XX, YY, and ZZ gates.

Remote backend access

The user will need access credentials for the IonQ platform in order to use these remote devices. These credentials should be provided to PennyLane via a configuration file or environment variable. Specifically, the variable IONQ_API_KEY must contain a valid access key for IonQ’s online platform.