Skip to main content

Qiskit Aer - High performance simulators for Qiskit

Project description

Qiskit Aer

LicenseBuild Status

Qiskit is an open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms.

Qiskit is made up of elements that each work together to enable quantum computing. This element is Aer, which provides high-performance quantum computing simulators with realistic noise models.

Installation

We encourage installing Qiskit via the PIP tool (a python package manager), which installs all Qiskit elements, including this one.

pip install qiskit

PIP will handle all dependencies automatically for us and you will always install the latest (and well-tested) version.

To install from source, follow the instructions in the contribution guidelines.

Installing GPU support

In order to install and run the GPU supported simulators, you need CUDA® 10.1 or newer previously installed. CUDA® itself would require a set of specific GPU drivers. Please follow CUDA® installation procedure in the NVIDIA® web.

If you want to install our GPU supported simulators, you have to install this other package:

pip install qiskit-aer-gpu

This will overwrite your current qiskit-aer package installation giving you the same functionality found in the canonical qiskit-aer package, plus the ability to run the GPU supported simulators: statevector, density matrix, and unitary.

Simulating your first quantum program with Qiskit Aer

Now that you have Qiskit Aer installed, you can start simulating quantum circuits with noise. Here is a basic example:

$ python
import qiskit
from qiskit import IBMQ
from qiskit.providers.aer import QasmSimulator

# Generate 3-qubit GHZ state
circ = qiskit.QuantumCircuit(3, 3)
circ.h(0)
circ.cx(0, 1)
circ.cx(1, 2)
circ.measure([0, 1, 2], [0, 1 ,2])

# Construct an ideal simulator
sim = QasmSimulator()

# Perform an ideal simulation
result_ideal = qiskit.execute(circ, sim).result()
counts_ideal = result_ideal.get_counts(0)
print('Counts(ideal):', counts_ideal)
# Counts(ideal): {'000': 493, '111': 531}

# Construct a noisy simulator backend from an IBMQ backend
# This simulator backend will be automatically configured
# using the device configuration and noise model 
provider = IBMQ.load_account()
vigo_backend = provider.get_backend('ibmq_vigo')
vigo_sim = QasmSimulator.from_backend(vigo_backend)

# Perform noisy simulation
result_noise = qiskit.execute(circ, vigo_sim).result()
counts_noise = result_noise.get_counts(0)

print('Counts(noise):', counts_noise)
# Counts(noise): {'000': 492, '001': 6, '010': 8, '011': 14, '100': 3, '101': 14, '110': 18, '111': 469}

Contribution Guidelines

If you'd like to contribute to Qiskit, please take a look at our contribution guidelines. This project adheres to Qiskit's code of conduct. By participating, you are expect to uphold to this code.

We use GitHub issues for tracking requests and bugs. Please use our slack for discussion and simple questions. To join our Slack community use the link. For questions that are more suited for a forum we use the Qiskit tag in the Stack Exchange.

Next Steps

Now you're set up and ready to check out some of the other examples from our Qiskit IQX Tutorials or Qiskit Community Tutorials repositories.

Authors and Citation

Qiskit Aer 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

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qiskit-aer-0.7.1.tar.gz (6.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

qiskit_aer-0.7.1-cp38-cp38-win_amd64.whl (24.0 MB view details)

Uploaded CPython 3.8Windows x86-64

qiskit_aer-0.7.1-cp38-cp38-win32.whl (18.7 MB view details)

Uploaded CPython 3.8Windows x86

qiskit_aer-0.7.1-cp38-cp38-manylinux2010_x86_64.whl (17.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

qiskit_aer-0.7.1-cp38-cp38-manylinux2010_i686.whl (14.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ i686

qiskit_aer-0.7.1-cp38-cp38-macosx_10_9_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

qiskit_aer-0.7.1-cp37-cp37m-win_amd64.whl (24.0 MB view details)

Uploaded CPython 3.7mWindows x86-64

qiskit_aer-0.7.1-cp37-cp37m-win32.whl (18.7 MB view details)

Uploaded CPython 3.7mWindows x86

qiskit_aer-0.7.1-cp37-cp37m-manylinux2010_x86_64.whl (17.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

qiskit_aer-0.7.1-cp37-cp37m-manylinux2010_i686.whl (14.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ i686

qiskit_aer-0.7.1-cp37-cp37m-macosx_10_9_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

qiskit_aer-0.7.1-cp36-cp36m-win_amd64.whl (24.0 MB view details)

Uploaded CPython 3.6mWindows x86-64

qiskit_aer-0.7.1-cp36-cp36m-win32.whl (18.7 MB view details)

Uploaded CPython 3.6mWindows x86

qiskit_aer-0.7.1-cp36-cp36m-manylinux2010_x86_64.whl (17.5 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

qiskit_aer-0.7.1-cp36-cp36m-manylinux2010_i686.whl (14.7 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ i686

qiskit_aer-0.7.1-cp36-cp36m-macosx_10_9_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

Details for the file qiskit-aer-0.7.1.tar.gz.

File metadata

  • Download URL: qiskit-aer-0.7.1.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.6

File hashes

Hashes for qiskit-aer-0.7.1.tar.gz
Algorithm Hash digest
SHA256 875b3e94a232ce291777bc9886e91459a2450310105526d46906e9a43dd02bf3
MD5 eac2bb986fb759d97609c7890e09f722
BLAKE2b-256 d608146d5f900eee51ccebd86bc0881df6bd7ecd0de53f22c27fd303c99f4db7

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 24.0 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.3

File hashes

Hashes for qiskit_aer-0.7.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7670e104642598a7557e1518b19dad6ca745027b142466c2fa7a0952f09322ce
MD5 a80e0af599e74004d0e7bf4e07596e9f
BLAKE2b-256 7bbdd3f44524447357d49b91b0229a5b636cd3b0510b7a78a0ff0a4f58bbc0af

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp38-cp38-win32.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 18.7 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3

File hashes

Hashes for qiskit_aer-0.7.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 8870ae686d34614bee8a1dbafd18fa3f519593025dcf90e1b2bb81f7e1e5ed0e
MD5 3804c80a43106c8488d9c557df63105b
BLAKE2b-256 8d8f48c6f3064a250ef1415703676853240fbb6e96f6af57c7805bef31e24aa9

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 17.5 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1ac356b53277c3888515062c499ede42d3663ea64e2ce8beed0e4ca76ba8da9b
MD5 8e6b6c45b3c2b25ad9e3dd10daaf312f
BLAKE2b-256 94606c9355ae7447998a09e54b3c0663d9217bc87af4f3d0b55b7b148fc195e6

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp38-cp38-manylinux2010_i686.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp38-cp38-manylinux2010_i686.whl
  • Upload date:
  • Size: 14.7 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp38-cp38-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 1f3a146cd063981db5a9e3e5dec2ca7ea8f356674c2c78751383a5eb4cd4a422
MD5 1c2373dfb60ced8ce523af791d874c30
BLAKE2b-256 f21fe29fcb60894edfb6c350ee5b70cdc381e151bc1e15637bf999550901ac86

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 499644adff52d74ce5c33f0e623f2289726f80ec4510445a6626a2a503472a89
MD5 dda66a28a9c4f86fd3c2581043aa4411
BLAKE2b-256 31cadbb39f9e60d90612dc59a198438a906de0463d9d4650081f22ce92146047

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 24.0 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.3

File hashes

Hashes for qiskit_aer-0.7.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8ffe893e66bd7e3cde0dd7e6e1eb37be202c6d855d6945fc530f954cc523d09e
MD5 699803898401644041a6f16a74397b08
BLAKE2b-256 77606ecdf3d4f3e55b2cb018c015c1e5de1add0604b42e4a736d4971896588c9

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 18.7 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3

File hashes

Hashes for qiskit_aer-0.7.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 133a85c276c0a4ea1a2b6fec864c4e854809566a3ce594685f331ee65202861e
MD5 7425290b90fbfcac05ae910660be30f0
BLAKE2b-256 6c311126e280f72c3d8ca95be5d376f1fcea03677e91d7d5696bbe7d9e42d558

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 17.5 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c4e1b29d750545cbae6987b7e8f67c55129f892f6280acc53e587f1e5939ccc1
MD5 9821f1bfe3c1fc9d22c39acbd5cc63ee
BLAKE2b-256 3dcc972d7a81afcd61549a040a6d041993b13b2497b40a2f08dbedfc7b5b267e

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp37-cp37m-manylinux2010_i686.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp37-cp37m-manylinux2010_i686.whl
  • Upload date:
  • Size: 14.7 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp37-cp37m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7134bb3bf18d8bf22f1a1f7406b5a6ebee5d4993e7dbffc9fdf5f34b68109bcc
MD5 62857d25695accc789e7351493525d80
BLAKE2b-256 263948b132646fe3846c44ec9ab3e1334aa5702279f5f1fee1b5cb0a1772f4ab

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 35dfdca245631ba132c6a18542e424ba41bfbc7ae9de15534d63331d18f8d0e0
MD5 4e179c7b583b007567d204d42b3480d8
BLAKE2b-256 96ae1ccf3a340039638600f013091c82cf4806bd54cc7123ddac65545541487e

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 24.0 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.3

File hashes

Hashes for qiskit_aer-0.7.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2b553af1dc2d441bb7c067e5f5e104f35c72511d34a2c5caf48fb523404b8f74
MD5 a31b375b85976c63443ef3c32f601a88
BLAKE2b-256 a3ab179047886c695878ecf457e2773458de77f78960271c5f364727999df33c

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp36-cp36m-win32.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 18.7 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3

File hashes

Hashes for qiskit_aer-0.7.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 fca72479bee678e44ffc37b5bf4c55ea859c26f914d275ee4f5af02c68b855ea
MD5 aa039d0b8c6a8b176691b55e647e8d8e
BLAKE2b-256 b24ee640bfb7307c9fe6ade70b3fa6d0b7f208fe28fcfb3f629e15b0a2e2ec4b

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 17.5 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7103fef4c9cd74b446b604c0e8e5c9283007ec89bcb23e01159bf8b40523c426
MD5 2eac928d5ea28d9458b18056a6b2662e
BLAKE2b-256 677823c530c8e90b802570763763d75e3538cf463f72e820866daec66bcc24ef

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp36-cp36m-manylinux2010_i686.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp36-cp36m-manylinux2010_i686.whl
  • Upload date:
  • Size: 14.7 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp36-cp36m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e76ad570c82a6925387fea6e762b53355e64d6d27b7366d57056dc4828b698d8
MD5 3d95e3bfbb12e2113113ea5ffd383042
BLAKE2b-256 9e8539229a1b8c168be0325e5107e041131cac26557831d3ae498278ebca4d09

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.7.1-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qiskit_aer-0.7.1-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c94a3fc326f8ed4f3a6c02b3a5c71881341411d57de477c2e636c680d9ba2f20
MD5 acf4facbd4772ba77a13cc369570f70f
BLAKE2b-256 835d4ea97839a4d3130f3a2c94bc95fb97d271bc73c0a3f9fb72c5920783d9f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page