Skip to main content

Approximate quantum compilation with tensor networks

Project description

Release Platform Python Qiskit
Docs (stable) License Downloads Tests Coverage

Qiskit addon: approximate quantum compilation with tensor networks (AQC-Tensor)

Table of contents


About

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

This addon enables a Qiskit user to perform approximate quantum compilation using tensor networks, a technique that was introduced in arXiv:2301.08609.

Specifically, this package allows one to compile the initial portion of a circuit into a nearly equivalent approximation of that circuit, but with much fewer layers.

It has been tested primarily on Trotter circuits to date. It may, however, be applicable to any class of circuits where one has access to both:

  1. A great intermediate state, known as the "target state," that can be achieved by tensor-network simulation; and,
  2. A good circuit that prepares an approximation to the target state, but with fewer layers when compiled to the target hardware device.

Compression of initial portion of circuit with AQC

(Figure is taken from arXiv:2301.08609.)


Documentation

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


Installation

We encourage installing this package via pip, when possible.

To be useful, this package requires at least one tensor-network backend. The following command installs the Qiskit Aer backend, as well as the quimb backend with automatic differentiation support from JAX:

pip install 'qiskit-addon-aqc-tensor[aer,quimb-jax]'

For more installation information refer to these installation instructions.


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.


Citation

If you use this package in your research, please cite it according to the CITATION.bib 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_addon_aqc_tensor-0.1.2.tar.gz (985.4 kB view details)

Uploaded Source

Built Distribution

qiskit_addon_aqc_tensor-0.1.2-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file qiskit_addon_aqc_tensor-0.1.2.tar.gz.

File metadata

File hashes

Hashes for qiskit_addon_aqc_tensor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6bac8535b8bd126cd1bdda008b506cc8a68105bb89b43758db6b797550da2ba2
MD5 873df56a37bf1ffb3bdd7c165504fbb5
BLAKE2b-256 9cf143b5cbce197df320dc65c0f9a5de4a8ff7f47cf56f4b6f0b7fc0b820ca59

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiskit_addon_aqc_tensor-0.1.2.tar.gz:

Publisher: release.yml on Qiskit/qiskit-addon-aqc-tensor

Attestations:

File details

Details for the file qiskit_addon_aqc_tensor-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for qiskit_addon_aqc_tensor-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc7fc36c72185a5cf1854332fb2d817090ac00054c3cbb07775e3b854d36ae04
MD5 974b05c6a669624872364c66ce6709c5
BLAKE2b-256 b319603b6bd4c50a0b7734846f1e8da0f9ec42880f4bb698f5e259f4d237a8cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiskit_addon_aqc_tensor-0.1.2-py3-none-any.whl:

Publisher: release.yml on Qiskit/qiskit-addon-aqc-tensor

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