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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

qiskit_aer-0.6.1-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.1-cp37-cp37m-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

qiskit_aer-0.6.1-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.1-cp36-cp36m-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

qiskit_aer-0.6.1-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.1-cp35-cp35m-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mmanylinux: glibc 2.12+ x86-64

qiskit_aer-0.6.1-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.1.tar.gz.

File metadata

  • Download URL: qiskit-aer-0.6.1.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.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6

File hashes

Hashes for qiskit-aer-0.6.1.tar.gz
Algorithm Hash digest
SHA256 35191a58c16ca516525bcbaca303a65352ef0e20a859fa8973e9d66fabbe40b2
MD5 439e0fbdc774c55765b44a8fcff3c102
BLAKE2b-256 e48e3c34617ca402913c378ad58c6c345d08c5cc693655c260ccee979cb2c4a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e4ea413427b4c127fbbf28336150cc42b28217790046031c0e67c366e78685e0
MD5 64e90d2b7215375ead31538add497108
BLAKE2b-256 9cc7417dc625bd03fcbd70657f10690f856168ba2f96b483a864dd3628bd5bb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6301c00eeedcd81d09b2352b6b233b33a23f156ff67e9e89b34b9153588b2fa2
MD5 9a9eb8a7c4ed7a4398c30773f4355dd6
BLAKE2b-256 ed0999cd0cf37ded5df28a7087055c0093fe235ed2bae1ad9599c576a8c64c77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a133e87e57f8ad2a979a1ff1d291e94068d9f320d92726ce8a553d751c846474
MD5 e90d367a82206eb85153305c3d7ef9ff
BLAKE2b-256 bc808bc3aa424ba813a54e667cb5b01bda6c6f0e30378ab1c9a6b3bce4185dc8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ec235e9267e97507fcf8c199c9025b956b01135d36e5e9c8f36b2c27d2a9b88a
MD5 f481137a36a76f887898835015b2c0d2
BLAKE2b-256 d2b5d932b4807840d1cf648f1b2685a0434ee04c83b37caa1fbce19026e22c58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 12175358b79ce59f857647d1a52aa875ea579690466f66345ea983cfb754af32
MD5 a5efeb3e17cbec6427f98c12041230c5
BLAKE2b-256 13f6f14cfd5eb8db329b6678ef6909dd58f30f984228dd89cb0cafd37ededf20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 106980702adbd68c6f215703f9c72e628f9be9147b754351c9f10381a235681b
MD5 7bb58920ff8d3012c13f6d2f3c5081b1
BLAKE2b-256 8d5f58e78d7a80374adba3b0522fc5364320553e33f9fd78f69f5884b74717cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a05d96ea5640607322012628b5ba8c9803eda967de51d5ed1d5e27e0346db4a2
MD5 6fc042f25b00f272182733f4ca4caa5b
BLAKE2b-256 0e3c276c9e7aea87476735acb48136e3111fd3e201579f72ad34cefacc80b4e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 dab73e981620b2fa87e46b33342e073371f8bcaf5bab4894ce5edaafe0b1f392
MD5 f1a4078666d3624293c7f8d23e738809
BLAKE2b-256 e8763a52f423f9ac5adbc4353105e21b5dae3d4f8729f9baa4c6788aa7fff33c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2783b6e2a7fd7256a2755c35d381435f1e192f4a448bfede689a39d794cff41e
MD5 3459fc2e3d2ed733c8334839f1e0e572
BLAKE2b-256 52e930a64cc3eb77c852d22af48eebd4c19e71a240f8c3456a37486e1388bf2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 733e9c5c5f8b1cfdbe456d26def3e006197000c17486aa77915e5ddce74f82f8
MD5 9cf3fa3676f4066d31ec71426deb26c1
BLAKE2b-256 ff2447044732b09ef0b5f1f52dd16cd424e4d178c7dc234b35ce2db580e6b0cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b2b61d1bf047e5210da5644e0d22c34d94bc7e4167daae09988a6d54bd641fb0
MD5 a27f481da29acace7e20014688a36cae
BLAKE2b-256 09bc40dc5857e01879ef289545be139e26d2d2b5ab39f1df0fc1d4a8ff344cd5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_aer-0.6.1-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.1-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6bd8ab5a11859ea8f57d1c157dd462042289b8274443d0406ca34b93dcf4afb1
MD5 08d607226d97b1cb5ce4d8c9725367ed
BLAKE2b-256 07804034d580e788304709e5a7fe73c11248cc99903d333faf758ffcd7d09883

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