Skip to main content

2QAN is an open source compiler for two-local qubit Hamiltonian simulation algorithms.

Project description

2QAN

Unitary Fund

2QAN is a quantum compiler for 2-local qubit Hamiltonian simulation algorithms. 2QAN uses algorithm-specific routing and scheduling techniques and can target different device topologies, different gate sets (e.g., CNOT/CX, SYC, iSWAP, sqrt_iSWAP, etc.).

A mapping algorithm based on quadratic assignment problem (QAP) is implemented in 2QAN for small benchmarks. The QAP mapper could find good qubit initial placements for small circuits, but becomes very slow for large circuits. For fast compilation, especially for circuits with more than 40 qubits, we encourage users to use other different qubit mapping techniques such as the ones in Qiskit and tket.

Requirements

  1. 2QAN is using Qiskit (0.36.0) circuit representation
  2. Other required python packages can be found in requirement.txt

Examples

TODO

  1. 2QAN is using Qiskit (0.36.0) circuit representation, it's better to use IR .
  2. Update tket and cirq versions, current examples with Pytket (0.11.0) and decomposition with cirq (0.11.1)
  3. Improvement in routing algorithm

Attribution

When using 2QAN for research, please cite:

@article{lao20212QAN,
  title={{2QAN}: A quantum compiler for 2-local qubit Hamiltonian simulation algorithms},
  author={Lao, Lingling},
  journal={arXiv preprint arXiv:2108.02099},
  year={2021}
}

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

py2QAN-0.0.1.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

py2QAN-0.0.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file py2QAN-0.0.1.tar.gz.

File metadata

  • Download URL: py2QAN-0.0.1.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.5

File hashes

Hashes for py2QAN-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ea4d4318eea2eb8b80ad0be3500594471700fa2f737101caa4a3fff3f374e77e
MD5 e3bde9c890c9b9b6a8ec08af03c77582
BLAKE2b-256 c24213aca40e3742968f2cff44ad4311d562aaf9150d6ebdb5c9b96460356b41

See more details on using hashes here.

File details

Details for the file py2QAN-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: py2QAN-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.5

File hashes

Hashes for py2QAN-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1187b723aac63837adcc46729a92c610ae8b62e667d77d7812dc49b33d0e6916
MD5 28a87fa8a61d67bcfd3be0f7d1ee1f5d
BLAKE2b-256 9218dae8de3f2c3b9b4e2e4e092ec93be544912689c975e03ccc165740de6d29

See more details on using hashes here.

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