Qiskit provider for AQT backends
Project description
Qiskit AQT Provider
Qiskit is an open-source framework for working with noisy intermediate-scale quantum computers (NISQ) at the level of pulses, circuits, and algorithms.
This project contains a provider that allows access to AQT ion-trap quantum devices.
Installation
You can install the provider using pip tool:
pip install qiskit-aqt-provider
pip
will handle installing all the python dependencies automatically and you
will always install the latest (and well-tested) version.
Setting up the AQT Provider
Once the package is installed, you can use it to access the provider from qiskit.
Use your AQT credentials
You can initialize an AQT provider using your token locally with:
from qiskit.providers.aqt import AQT
aqt = AQT.enable_account('MY_TOKEN')
Where MY_TOKEN
is your access token for the AQT device. Then you can access
the backends from that provider:
print(aqt.backends())
backend = aqt.get_backend('aqt_qasm_simulator')
You can then use that backend like you would use any other qiskit backend. For example, running a bell state:
from qiskit import *
qc = QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure([0,1], [0,1])
result = execute(qc, backend, shots=100).result()
print(result.get_counts(qc))
For running the quantum circuit on the ion-trap quantum device you need to use aqt_innsbruck
as backend, which needs a different access token.
Authors and Citation
The Qiskit AQT provider is the work of many people who contribute to the project at different levels. If you use Qiskit, please cite as per the included BibTeX file.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for qiskit-aqt-provider-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2126dd8476101b8349549057023b10c6add561900b05fc5c4534891136191aa |
|
MD5 | 96168304c76e01e1dfafaa85e2812b53 |
|
BLAKE2b-256 | c3517efc5cc1531fd26934443c2f0b18facfc855a23f82c2173daffa35bfeef9 |
Hashes for qiskit_aqt_provider-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 894e292e812d1e105562cc1d107d23060cf8620c574f507219de5edc349e1de2 |
|
MD5 | f61be3c4a69b4e4ff183f73172b4e9ea |
|
BLAKE2b-256 | d121a0e4eb69a0044e4868c69b6a423163d09f5134f3d2cb4316752df5e34a6f |