Skip to main content

Optimize and simulate measurement-based quantum computation

Project description

logo

Documentation Status GitHub PyPI - Python Version PyPI

Graphix is an open-source library to optimize and simulate measurement-based quantum computing (MBQC).

Feature

  • We integrate an efficient graph state simulator as an optimization routine of MBQC measurement pattern, with which we can classically preprocess all Pauli measurements (corresponding to the elimination of all Clifford gates in the gate network - c.f. Gottesman-Knill theorem), significantly reducing the required size of graph state to run the computation.
  • We implement Matrix Product State (MPS) simulation of MBQC with which thousands of qubits (graph nodes) can be simulated with modest computing resources (e.g. laptop), without approximation.
  • Our pattern-based construction and optimization routines are suitable for high-level optimization to run quantum algorithms on MBQC quantum hardware with minimal resource state size requirements. We plan to add quantum hardware emulators (and quantum hardware) as pattern execution backends.

Installation

Install graphix with pip:

$ pip install graphix

Next Steps

Read the tutorial to learn how to use Graphix. We also have a few demos here (more will be added).

For theoretical background, read our quick introduction into MBQC and LC-MBQC.

Citing

A paper will be out soon, stay tuned.

Contributing

We use GitHub issues for tracking requests and bugs.

Core Contributors

Dr. Shinichi Sunami (University of Oxford)

Masato Fukushima (University of Tokyo, Fixstars Amplify)

Acknowledgements

amplify

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

graphix-0.1.2.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

graphix-0.1.2-py3-none-any.whl (38.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphix-0.1.2.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for graphix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fc89ce4d7faf3733f3f8d281b70f005f61f26d987392224a65e17dbcb1d0c5f0
MD5 463a10f5737d2c44c6b4fbbe877d05ac
BLAKE2b-256 e5dc551c68cc9b48c7ea704a40fbadb00889e923f2178fd241bb5517687dc46b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphix-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 38.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for graphix-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cf42dc4227042f56fba1a1005405e96ae6a79ae510df56b77e8df0af38b0930
MD5 04e470e97922ccdd7302f802e03ace0c
BLAKE2b-256 11bb215a996475cee9abbbf6156a3cb48e1c11ef3c4f49f0cfcf48659c673377

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