For more details, please refer to: MQT Predictor is part of the [Munich Quantum Toolkit (MQT)](https://mqt.readthedocs.io/) developed by the [Chair for Design Automation](https://www.cda.cit.tum.de/) at the [Technical University of Munich](https://www.tum.de/). If you have any questions, feel free to create a [discussion](https://github.com/cda-tum/mqt-predictor/discussions) or an [issue](https://github.com/cda-tum/mqt-predictor/issues) on [GitHub](https://github.com/cda-tum/mqt-predictor). ## Getting Started `mqt-predictor` is available via [PyPI](https://pypi.org/project/mqt.predictor/). ```console (venv) $ pip install mqt.predictor ``` The following code gives an example on the usage: ```python3 from mqt.predictor import qcompile from mqt.bench import get_benchmark # get a benchmark circuit on algorithmic level representing the GHZ state with 5 qubits from [MQT Bench](https://github.com/cda-tum/mqt-bench) qc_uncompiled = get_benchmark(benchmark_name="dj", level="alg", circuit_size=5) # compile it using the MQT Predictor qc_compiled, compilation_information, quantum_device = qcompile(qc_uncompiled) # print the selected device and the compilation information print(quantum_device, compilation_information) # draw the compiled circuit print(qc_compiled.draw()) ``` **Detailed documentation and examples are available at [ReadTheDocs](https://mqt.readthedocs.io/projects/predictor).** ## References In case you are using MQT Predictor in your work, we would be thankful if you referred to it by citing the following publication: ```bibtex @ARTICLE{quetschlich2024mqtpredictor, AUTHOR = {N. Quetschlich and L. Burgholzer and R. Wille}, TITLE = {{MQT Predictor: Automatic Device Selection with Device-Specific Circuit Compilation for Quantum Computing}}, YEAR = {2024}, JOURNAL = {ACM Transactions on Quantum Computing (TQC)}, DOI = {10.1145/3673241}, EPRINT = {2310.06889}, EPRINTTYPE = {arxiv}, } ``` ## Acknowledgements This project received funding from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation program (grant agreement No. 101001318), was part of the Munich Quantum Valley, which is supported by the Bavarian state government with funds from the Hightech Agenda Bayern Plus, and has been supported by the BMWK on the basis of a decision by the German Bundestag through project QuaST, as well as by the BMK, BMDW, the State of Upper Austria in the frame of the COMET program, and the QuantumReady project within Quantum Austria (managed by the FFG).