Skip to main content

Qiskit Nature: A library of quantum computing chemistry/physics experiments

Project description

Qiskit Nature

License

Qiskit Nature is an open-source framework which supports solving quantum mechanical natural science problems using quantum computing algorithms. This includes finding ground and excited states of electronic and vibrational structure problems, measuring the dipole moments of molecular systems, solving the Ising and Fermi-Hubbard models on lattices, and much more.

Qiskit Nature Design

The code comprises various modules revolving around:

  • data loading from chemistry drivers or file formats
  • second-quantized operator construction and manipulation
  • translating from the second-quantized to the qubit space
  • a quantum circuit library of natural science targeted ansatze
  • natural science specific algorithms and utilities to make the use of algorithms from Qiskit Algorithms easier
  • and much more

Installation

We encourage installing Qiskit Nature via the pip tool (a python package manager).

pip install qiskit-nature

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

If you want to work on the very latest work-in-progress versions, either to try features ahead of their official release or if you want to contribute to Qiskit Nature, then you can install from source. To do this follow the instructions in the documentation.

Optional Installs

To run chemistry experiments using Qiskit Nature, it is recommended that you install a classical computation chemistry software program/library interfaced by Qiskit. Several, as listed below, are supported, and while logic to interface these programs is supplied by Qiskit Nature via the above pip installation, the dependent programs/libraries themselves need to be installed separately.

  • Gaussian 16™, a commercial chemistry program
  • PSI4, a chemistry program that exposes a Python interface allowing for accessing internal objects
  • PySCF, an open-source Python chemistry program

The above codes can be used in a very limited fashion through Qiskit Nature. While this is useful for getting started and testing purposes, a better experience can be had in the reversed order of responsibility. That is, in a setup where the classical code runs the Qiskit Nature components. Such an integration currently exists for the following packages:

If you are interested in using Psi4, we are actively looking for help to get started on a similar integration in qiskit-nature-psi4.

Additionally, you may find the following optional dependencies useful:

  • sparse, a library for sparse multi-dimensional arrays. When installed, Qiskit Nature can leverage this to reduce the memory requirements of your calculations.
  • opt_einsum, a tensor contraction order optimizer for np.einsum.

Creating Your First Chemistry Programming Experiment in Qiskit

Check our getting started page for a first example on how to use Qiskit Nature.

Further examples

Learning path notebooks may be found in the Nature Tutorials section of the documentation and are a great place to start.


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 expected to uphold this code.

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

Authors and Citation

Qiskit Nature was inspired, authored and brought about by the collective work of a team of researchers. Qiskit Nature continues to grow with the help and work of many people, who contribute to the project at different levels. If you use Qiskit Nature, please cite the following references:

License

This project uses the Apache License 2.0.

However there is some code that is included under other licensing as follows:

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_nature-0.8.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

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

qiskit_nature-0.8.0-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file qiskit_nature-0.8.0.tar.gz.

File metadata

  • Download URL: qiskit_nature-0.8.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qiskit_nature-0.8.0.tar.gz
Algorithm Hash digest
SHA256 de3c375600b9583450f5d4cd5c9d2cc58cf45c7b8f446cd3be2aa12fe4f37d8d
MD5 7b95db5b35fa18410d17de1ecb0e43e8
BLAKE2b-256 91fa3f86a24ea0a0b6a8bbf7d91ed99ad5e3f38635cf5bf6c38dbfb771f6aea7

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiskit_nature-0.8.0.tar.gz:

Publisher: deploy-code.yml on qiskit-community/qiskit-nature

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qiskit_nature-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: qiskit_nature-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qiskit_nature-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f219dc19c91109edb39575bd6de1dea7d3be088be831057740b94648143e0f8a
MD5 b59fdd81ed3df72d332b8bfa4dfabef9
BLAKE2b-256 e7b1ea0b97ddc8040a80c89fb7588329f5f185e1b7fd3cec82d4f3efcac4c4f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiskit_nature-0.8.0-py3-none-any.whl:

Publisher: deploy-code.yml on qiskit-community/qiskit-nature

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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