Optimize and simulate measurement-based quantum computation
Project description
Graphix is a measurement-based quantum computing (MBQC) compiler, which makes it easier to generate, optimize and simulate MBQC measurement patterns.
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 tensor-network 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
-
We have a few demos showing basic usages of
Graphix
. -
You can run demos on your browser:
-
Read the tutorial for more comprehensive guide.
-
For theoretical background, read our quick introduction into MBQC and LC-MBQC.
Citing
S. Sunami and M. Fukushima. "Graphix: optimizing and simulating measurement-based quantum computation on local-Clifford decorated graph", arXiv:2212.11975 (2022).
Update on the paper: [^1]
[^1]: Following the release of this arXiv preprint, we were made aware of a previous work by Backens et al. where Pauli measurement elimination method for MBQC was developed in the context of circuit optimization. Many thanks for letting us know about this work, we will properly mention this work in the next version of our paper.
Contributing
We use GitHub issues for tracking requests and bugs.
Discord Server
Please visit Unitary Fund's Discord server, where you can find a channel for graphix
to ask questions.
Core Contributors
Dr. Shinichi Sunami (University of Oxford)
Masato Fukushima (University of Tokyo, Fixstars Amplify)
Acknowledgements
We are proud to be supported by unitary fund microgrant program.
Special thanks to Fixstars Amplify:
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file graphix-0.2.1.tar.gz
.
File metadata
- Download URL: graphix-0.2.1.tar.gz
- Upload date:
- Size: 48.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 666080c52e7a940470a15b4a6b401f6d6f9c3ccbf4ab4c3e1696ccc3ba6a0057 |
|
MD5 | f590c423cfa82ed3ea84bb1231765038 |
|
BLAKE2b-256 | cbd6a9be9ee7b01069e3dcd2459c4d7c3cbbe8bd1cee647fcb909a809ac2a64d |
File details
Details for the file graphix-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: graphix-0.2.1-py3-none-any.whl
- Upload date:
- Size: 48.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18a5af00687482a5d0cb44c8d6c331f6276da1b2e5aa385cb2654a8f7ba2964f |
|
MD5 | f70865129109653389a856f915e3c02b |
|
BLAKE2b-256 | 731688ad7cc0e086f2729b3b6286258beb87c264ed95352d7d21f31f34860a7d |