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
from qiskit import QuantumCircuit, execute
from qiskit import Aer, IBMQ
from qiskit.providers.aer.noise import NoiseModel

# Choose a real device to simulate from IBMQ provider
provider = IBMQ.load_account()
backend = provider.get_backend('ibmq_vigo')
coupling_map = backend.configuration().coupling_map

# Generate an Aer noise model for device
noise_model = NoiseModel.from_backend(backend)
basis_gates = noise_model.basis_gates

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

# Perform noisy simulation
backend = Aer.get_backend('qasm_simulator')
job = execute(circ, backend,
              coupling_map=coupling_map,
              noise_model=noise_model,
              basis_gates=basis_gates)
result = job.result()

print(result.get_counts(0))
{'000': 495, '001': 18, '010': 8, '011': 18, '100': 2, '101': 14, '110': 28, '111': 441}

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.6.0.tar.gz (5.3 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.6.0-cp38-cp38-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.8Windows x86-64

qiskit_aer-0.6.0-cp38-cp38-manylinux2010_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

qiskit_aer-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

qiskit_aer-0.6.0-cp37-cp37m-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

qiskit_aer-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

qiskit_aer-0.6.0-cp37-cp37m-macosx_10_9_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

qiskit_aer-0.6.0-cp36-cp36m-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.6mWindows x86-64

qiskit_aer-0.6.0-cp36-cp36m-manylinux2010_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

qiskit_aer-0.6.0-cp36-cp36m-macosx_10_9_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

qiskit_aer-0.6.0-cp35-cp35m-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.5mWindows x86-64

qiskit_aer-0.6.0-cp35-cp35m-manylinux2010_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.5mmanylinux: glibc 2.12+ x86-64

qiskit_aer-0.6.0-cp35-cp35m-macosx_10_9_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.5mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: qiskit-aer-0.6.0.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6

File hashes

Hashes for qiskit-aer-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8a49cc36074f56da1639b0f7122fad4e16cf7f03103434589675140853d9d89a
MD5 a74fab1736d8a39c68653a3fe38b0294
BLAKE2b-256 7971052ba88df945b188ad9646ec3c4259288e5cfd5d43441b890e150a2b8359

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 7.7 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.48.2 CPython/3.7.8

File hashes

Hashes for qiskit_aer-0.6.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 62e09607b7fbd1a2d631f0c0ca17fe122d83a6099da6ae0543c100407c633264
MD5 a04154d3aa96bc5128cddc4146e64389
BLAKE2b-256 4aed501cd92d83a130a24e440a48293041315fabe48adffee681251b52ea983f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.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.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1

File hashes

Hashes for qiskit_aer-0.6.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c2c3d17149e87fd4ff6db2b110ad56926a5c6e24878150ea69ce962d0625ba91
MD5 6bb2de8b766a33ad03ccee6cd6030519
BLAKE2b-256 a54662b5ffc1c75e241ea3c54808b1e969b2761f41993916e5b6a4a84dbfd08a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

File hashes

Hashes for qiskit_aer-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 572dfa3647e8a6beb07a184f2112def81dcee2488333365af47dbf7e8e344a2a
MD5 bbc4406aa6b98471847eefa5d5be214f
BLAKE2b-256 f2bc30447b06a401a1d2b51b3073b22f0c1443db50b0ac9a5e591c2f8ef6dc98

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 7.7 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.48.2 CPython/3.7.8

File hashes

Hashes for qiskit_aer-0.6.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9c5b512693e2dc4d4ce6309610eac9442e5e7a0935c8fc50bb37c1375d1de0a8
MD5 cf448501f72f9118210cf59ce6de1957
BLAKE2b-256 317edc2a35e8b440a9901988796148a06aaedee856b4a7009270e1fd368f0ff7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.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.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1

File hashes

Hashes for qiskit_aer-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5c14fff94cddf225641144762d63fe79d5a2ef74778658542c7d055046ef2b5c
MD5 63d006355180e117989508d7fdfe02f7
BLAKE2b-256 1c44d4cb3d8025fe920e9cbc9f7a083d1d836e982ac75919161a0fe3f4763ad2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

File hashes

Hashes for qiskit_aer-0.6.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4f145fe4b47be76bcb0762b2dd5c85e316784f59a0598f13e74a996429b5c766
MD5 0e4105c739b7fbbf4a69c8ac123ebbfc
BLAKE2b-256 c61798f24a4aebb91bd9f6d97fadc9c8532efb1b228740967b67b200c1082195

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 7.7 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.48.2 CPython/3.7.8

File hashes

Hashes for qiskit_aer-0.6.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8946d04f1d627bee25532ff907393272e6b26327c22a4bdad2af7bc066690124
MD5 d09bcc31b0a4adf206a6279d6b2b9f27
BLAKE2b-256 5579fe554b4d21120b098bdf1b89345329a0dd364abe9981dbedd5f213d926e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.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.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1

File hashes

Hashes for qiskit_aer-0.6.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fe21655fbfb155de97ce9dc6f609a467d751e8086d3c24f1be7a9cb61f4daec0
MD5 4751144e492344171ab5555b37ea36c8
BLAKE2b-256 cb300403d763e7ae744d72cbab04620a493aa562d489b8446e4aab3b513963b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.0-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

File hashes

Hashes for qiskit_aer-0.6.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1405b3f58d7902cfcd5b57e8c9aa7377f63f6b71dadaa5a08c62f5568866a20c
MD5 1476afb0c061bba32cee6f75a518a434
BLAKE2b-256 57841ddc223ae89baf0bbf4c22f087bbd5e30dd2a3b5c71dfe42fc6ca89ca601

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.6.0-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: qiskit_aer-0.6.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 7.7 MB
  • Tags: CPython 3.5m, 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.48.2 CPython/3.7.8

File hashes

Hashes for qiskit_aer-0.6.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 f6815dbbfd72cfd781f530685a74925e0607df9a779aeb6daffffff4d3737ef8
MD5 761d47acd55cece89851bfd1b11aea32
BLAKE2b-256 97b2d24c2a4822415e512323cbd3ae992903589fb35f593bfc5e7d78dcbe1adc

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.6.0-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: qiskit_aer-0.6.0-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 16.5 MB
  • Tags: CPython 3.5m, 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.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1

File hashes

Hashes for qiskit_aer-0.6.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 25c9cf86cf0593b6978ec0c60d5b2f1f9d4c1763887748c7684b6262029451a3
MD5 e6f02a34d235603fa5dbc6ed6178404c
BLAKE2b-256 868bdd68ba4ba2ac0af5f4b94b3f0372235008519bb2b37a2da6698f905073c2

See more details on using hashes here.

File details

Details for the file qiskit_aer-0.6.0-cp35-cp35m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qiskit_aer-0.6.0-cp35-cp35m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: CPython 3.5m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

File hashes

Hashes for qiskit_aer-0.6.0-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6dfb23329d7a53302499880cc0f2d93858f7f3d2400270dcadeb7d50cd184e4d
MD5 b82f4417e1c16cd1263a16fc80713607
BLAKE2b-256 71f0ba63cf140a176f8c04f2e2a481a23f3cef2ef337f25b74831d24f5d95ab4

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