Skip to main content

Reducing the Trotter error of Hamiltonian dynamics with multi-product formulas

Project description

Release Platform Python Qiskit
Docs (stable)

License Downloads Tests Coverage

Qiskit addon: multi-product formulas (MPF)

Table of contents


About

Qiskit addons are a collection of modular tools for building utility-scale workloads powered by Qiskit.

This package contains the Qiskit addon for multi-product formulas (MPFs). These can be used to reduce the Trotter error of Hamiltonian dynamics.

This package currently contains the following main entry points for users:

  • qiskit_addon_mpf.static for working with static MPFs 1-2
  • qiskit_addon_mpf.dynamic for working with dynamic MPFs 2-3

Documentation

All documentation is available at https://qiskit.github.io/qiskit-addon-mpf/.


Installation

We encourage installing this package via pip, when possible:

pip install 'qiskit-addon-mpf'

For more installation information refer to these installation instructions.

Optional dependencies

The qiskit-addon-mpf package has a number of optional dependencies which enable certain features. The dynamic MPF feature (see 2-3) is one such example. You can install the related optional dependencies like so:

pip install 'qiskit-addon-mpf[dynamic]'

[!IMPORTANT] The optional dependency TeNPy was previously offered under a GPLv3 license. As of the release of v1.0.4 on October 2nd, 2024, it has been offered under the Apache v2 license. The license of this package is only compatible with Apache-licensed versions of TeNPy.


Deprecation Policy

We follow semantic versioning and are guided by the principles in Qiskit's deprecation policy. We may occasionally make breaking changes in order to improve the user experience. When possible, we will keep old interfaces and mark them as deprecated, as long as they can co-exist with the new ones. Each substantial improvement, breaking change, or deprecation will be documented in the release notes.


Contributing

The source code is available on GitHub.

The developer guide is located at CONTRIBUTING.md in the root of this project's repository. By participating, you are expected to uphold Qiskit's code of conduct.

We use GitHub issues for tracking requests and bugs.


References

  1. A. Carrera Vazquez, D. J. Egger, D. Ochsner, and S. Wörner, Well-conditioned multi-product formulas for hardware-friendly Hamiltonian simulation, Quantum 7, 1067 (2023).
  2. S. Zhuk, N. Robertson, and S. Bravyi, Trotter error bounds and dynamic multi-product formulas for Hamiltonian simulation, Phys. Rev. Research 6, 033309 (2024).
  3. N. Robertson, et al. Tensor Network enhanced Dynamic Multiproduct Formulas, arXiv:2407.17405v2 [quant-ph].

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_addon_mpf-0.2.0.tar.gz (805.8 kB view details)

Uploaded Source

Built Distribution

qiskit_addon_mpf-0.2.0-py3-none-any.whl (68.0 kB view details)

Uploaded Python 3

File details

Details for the file qiskit_addon_mpf-0.2.0.tar.gz.

File metadata

  • Download URL: qiskit_addon_mpf-0.2.0.tar.gz
  • Upload date:
  • Size: 805.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for qiskit_addon_mpf-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bc1acf12fa0aa9e060765b52f44b1a153045893ec6470fad24f2f0eec67e9011
MD5 fff4d56e74bcbd26683f786b23e06baa
BLAKE2b-256 d96b94b1e002dad09d60f2ef882500584c0b514ad69e21680cb275726a84df17

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiskit_addon_mpf-0.2.0.tar.gz:

Publisher: release.yml on Qiskit/qiskit-addon-mpf

Attestations:

File details

Details for the file qiskit_addon_mpf-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qiskit_addon_mpf-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74cdef4b3a5332a66fb66077aa67a79dc796ada3875b954dc7b0e24ed6d209f7
MD5 99dd995816725e415d2a26fd1071ca5e
BLAKE2b-256 cb91459f368407d1db8ddce4af0f4dbe90c51cce322bba5049b99e1b81b1e5c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiskit_addon_mpf-0.2.0-py3-none-any.whl:

Publisher: release.yml on Qiskit/qiskit-addon-mpf

Attestations:

Supported by

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