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.0.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.0-cp38-cp38-win_amd64.whl (23.9 MB view details)

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

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

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.8manylinux: glibc 2.12+ i686

qiskit_aer-0.7.0-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.0-cp37-cp37m-win_amd64.whl (24.0 MB view details)

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.7mmanylinux: glibc 2.12+ i686

qiskit_aer-0.7.0-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.0-cp36-cp36m-win_amd64.whl (24.0 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.6mmanylinux: glibc 2.12+ i686

qiskit_aer-0.7.0-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.0.tar.gz.

File metadata

  • Download URL: qiskit-aer-0.7.0.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.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for qiskit-aer-0.7.0.tar.gz
Algorithm Hash digest
SHA256 ed8d1836e16d2db8bcea8ce55a836705e2eeb05dd6d55f6c66a7641bcb95b49e
MD5 6af0983c5737b8113f92d147860e28a0
BLAKE2b-256 1d98837489e7ad49c17cbef667ef0342e0de4db6a8f5444adfb74016400da9e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 23.9 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 00225eaed2b58ec81b8f0cc4006dc553c5c06a0d39d6352cb0e1aa72a3d2467b
MD5 5db097ad9a44f856e11cfa1dce0d9325
BLAKE2b-256 fd3b66a109a6b17680631989dffb97dea25506eebaac973f58a5892f8681c9a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3

File hashes

Hashes for qiskit_aer-0.7.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 3d95d1591546c84a4715b82f099987e46faeec4aab5551b61b353462c98deb9a
MD5 793be114baf73378550bd6a40796cda1
BLAKE2b-256 fc554102e4c05cdfa038d9c13dc64e771eddd4e90b821f6ff2f03eac50ae5ded

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e3b97323a4f1e0b0b7d6a2ce4e5753bc114c06f1a05c73a5441db222c786df17
MD5 e56b06084fce0d7a4057a8dba96c7542
BLAKE2b-256 f70e7b4bfdea99b81dc02fb35807d5850b96419dbd8b1789cc3b0f485de40624

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp38-cp38-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 6c0275e19fdbb8fba38826f2a814bb2d255f8d8dd6a315e319fef8222b869a73
MD5 bcd0dbc7006c18b0c937c4a6d864f540
BLAKE2b-256 ce13b8690e64080661476313150a201b013fde257f8bc4dc2f94e88380dde325

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0ea21e295611191fcf09d04389e17b9b3500d67cd34a089f6fdca39e54f3e436
MD5 a2f5fce9600920e59a33639267df735a
BLAKE2b-256 b053a72a33fb23c237a8afb297ba90dc6867361e29941008a40e04220264848d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 5cc3389f7904e574e8a11786b2e3b05de210a9d379084880229bf4d01e65e29f
MD5 653b9572a09b48e0e97cef80db772b34
BLAKE2b-256 68ae7d85b47cd39283b45568d66addddbe7f69678371001629ce8cadc74a5c08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3

File hashes

Hashes for qiskit_aer-0.7.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 8dfbd157716d1cf7c2a8e9124c77d80afedf8b59846de2ddb83dc68220952b69
MD5 10ad206126bba478c3b8a748091106c0
BLAKE2b-256 41ae7563bde48d65c87489b716cf139c5959412f76f66be77846f6c174a87479

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 23472fc28bb84b301a316f9b8e4e41eb16a186f6357d7d63c1c377783c8577f7
MD5 4720882d500bb17580cb853d275562b1
BLAKE2b-256 9fc928cbe3ada1f1417fcc02797f51ca33810f8eea9d8537bbca7283bde77888

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp37-cp37m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 76d7d4cb06a139a03cbe5def45b09aed46a9db7e06deee0c7ce65bac5fcc1e38
MD5 5682b0836468619e842ad55faaaf578e
BLAKE2b-256 92833c20a559fd92e73f982d2a7b94da9e8957153b67cb35efbb1fca06c88299

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8da52ada268d4073df5681cb259927447952b49b37166be4097e99f3e9e40b6f
MD5 1095e223d63c9707e12130fcf5510452
BLAKE2b-256 7371f5646a44dd8795eddb23f76b77a74178db4140bd6f32243063ab090bc598

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8079f6050093079157eee2d7ff1f4f88fc5be7fe8dccdcdacc5e5515ff2385a4
MD5 90bc8ab30bab7bc7eb873ba6edb02fef
BLAKE2b-256 68d80b5c8f6598f1c7020d1bd5359705f66860a7355ce28a0ce44985f338b70d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.3

File hashes

Hashes for qiskit_aer-0.7.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 3fc3a46df7aa4293d73f230990b2dc95340ab79bb1a53fa73f7a54a486138247
MD5 045b8205c25fd09d44e1b4f0fe1bf75d
BLAKE2b-256 0191bfdb8464dd17563f3bc2d7ab3e86420e780ba97aa47ced3e47a3e511f43d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e313711232a74d75582474c865b0be2bf4c0c6aa16c1ecb90c58a55eabd49996
MD5 1f91a71c7ed2919156e88be7f6272464
BLAKE2b-256 8fee4ef445974bc50abe8fb63a1ad13826f9c1e9ea29c495e72f42322f5bfacf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp36-cp36m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 05395356eaef49a95f4064a34c2b91bc5cbc93b8dba0b2d2eb6c69b54bc0cd76
MD5 13fe38ffa6c245397865db42c3d8341d
BLAKE2b-256 69d982103c63e147ff990f596c4b556597439b5dfedfcb1e2053acc77c4373c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.7.0-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.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for qiskit_aer-0.7.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c0aea9e3feee538a0eb122ef8c7314393891a6300d8d9b327e75f7331261e7e3
MD5 4ab04f6a4ad505e3c7c15f0ca9591aaa
BLAKE2b-256 70543156c97121ddbfc95c9348a26558c91e82f80aff5f42f24164e9d3d8dcf1

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