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

Uploaded Source

Built Distribution

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

qiskit_addon_aqc_tensor-0.3.0-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qiskit_addon_aqc_tensor-0.3.0.tar.gz
  • Upload date:
  • Size: 999.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qiskit_addon_aqc_tensor-0.3.0.tar.gz
Algorithm Hash digest
SHA256 16e2b2fc4685970acdfcfa3751dff4b5bc4c8e9d7d48c2db64fe8c626e6f2975
MD5 50dc1d767a96818ddae467233b5d2531
BLAKE2b-256 e2712ffdeb2e835ccac915d5756ec1d914439d682fbf672596d2152a384b24bd

See more details on using hashes here.

Provenance

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

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

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_addon_aqc_tensor-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qiskit_addon_aqc_tensor-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6398d342004d8b0164db1a1c5ea86090df3946ae99baf55273de699a5eb38c26
MD5 30ae308a54535198b8b7910b83217d03
BLAKE2b-256 81684af169cd0910ca895f095ce91e5d1508adfa2856ee8f59e42418cebeaae8

See more details on using hashes here.

Provenance

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

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

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