Learn how to use PennyLane to submit quantum circuits to IonQ’s simulators and quantum computers.
python --version
in your terminal.IONQ_API_KEY
environment variable by default. Visit the IonQ Cloud to obtain an API key. Then set this variable in your shell or terminal:
@qml.qnode
that targets your device:
00
, 01
, 10
, and 11
states, showing that our Bell state preparation was successful.