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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for qiskit_addon_aqc_tensor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9cbc0347f9cc45387afcc9ee8f3d37071e031063ee9ada80b99a968141391bb8
MD5 223a40735631e6a29e4acab848e3076d
BLAKE2b-256 ad123d334ec3e36046edb224d742e138313ec466c0e95498a01eeb984fef0493

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for qiskit_addon_aqc_tensor-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5baedf8b9e81d54900a34fc6dca1cb01c69a8b0fc883099570e6c1e15bbc8fd6
MD5 1dba7f23a9398d68d4e5e1166014eff3
BLAKE2b-256 f399c4792d58b7e1f08fd9f6a9389f182b2ff5721accaabed822b55fd9f68b89

See more details on using hashes here.

Provenance

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