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.0.tar.gz (947.5 kB view details)

Uploaded Source

Built Distribution

qiskit_addon_aqc_tensor-0.1.0-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for qiskit_addon_aqc_tensor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e733a066af6b0009e13c89c1c917f2d65d88a5ede7b54d09bc9187e658da8eee
MD5 e8d2043d5d17015cbe089636c76c7901
BLAKE2b-256 b35e348aa7a32f717654f2f177994404443a10a87ff9357785ef769dc204d021

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for qiskit_addon_aqc_tensor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67e7e136583c0d81bfc9c035d462b97618c01e9329a19dedd158322f3648bf5a
MD5 a51ad934147970bdef76e6317638d6ed
BLAKE2b-256 cef38d558b496feb8dca203282c3f60f7c0ac6bb2ebf3b91b8498e5d0f5cb42a

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiskit_addon_aqc_tensor-0.1.0-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