Giter Club home page Giter Club logo

mqt-core's Introduction

PyPI OS License: MIT CI CD Documentation codecov

MQT Core - The Backbone of the Munich Quantum Toolkit (MQT)

The MQT Core library forms the backbone of the quantum software tools developed as part of the Munich Quantum Toolkit (MQT) by the Chair for Design Automation at the Technical University of Munich. This includes the following tools:

  • MQT DDSIM: A Tool for Classical Quantum Circuit Simulation based on Decision Diagrams.
  • MQT QMAP: A Tool for Quantum Circuit Mapping.
  • MQT QCEC: A Tool for Quantum Circuit Equivalence Checking.
  • MQT QECC: A Tool for Quantum Error Correcting Codes.
  • MQT DDVis: A Web-Application visualizing Decision Diagrams for Quantum Computing.
  • MQT SyReC: A Tool for Synthesis of Reversible Circuits/Quantum Computing Oracles.

For a full list of tools and libraries, please visit the MQT website.

Documentation

If you have any questions, feel free to create a discussion or an issue on GitHub.

Getting Started

mqt.core is available via PyPI for all major operating systems and supports Python 3.8 to 3.12.

(venv) $ pip install mqt.core

The following code gives an example on the usage:

from mqt.core import QuantumComputation

qc = QuantumComputation(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure(range(2), range(2))

print(qc)

Detailed documentation and examples are available at ReadTheDocs.

Library Overview

MQT Core encompasses:

  • MQT::Core: An intermediate representation (IR) for quantum computations including means to import and export circuits in various formats.
  • MQT::CoreDD: A fully-fledged decision diagram (DD) library for quantum computing.
  • MQT::CoreZX: A library for working with ZX-diagrams and the ZX-calculus.
  • MQT::CoreECC: A library for working with error correcting codes (ECCs) for quantum computing.
  • MQT::CorePython: A Python interface for the MQT Core library (e.g., facilitating the import of Qiskit QuantumCircuits).

System Requirements

Building (and running) is continuously tested under Linux, MacOS, and Windows using the latest available system versions for GitHub Actions. However, the implementation should be compatible with any current C++ compiler supporting C++17 and a minimum CMake version of 3.19.

MQT Core relies on some external dependencies:

CMake will automatically look for installed versions of these libraries. If it does not find them, they will be fetched automatically at configure time via the FetchContent module (check out the documentation for more information on how to customize this behavior).

It is recommended (although not required) to have GraphViz installed for visualization purposes.

If you want to use the ZX library, it is recommended (although not strictly necessary) to have GMP installed in your system.


Acknowledgements

The Munich Quantum Toolkit has been supported by the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation program (grant agreement No. 101001318), the Bavarian State Ministry for Science and Arts through the Distinguished Professorship Program, as well as the Munich Quantum Valley, which is supported by the Bavarian state government with funds from the Hightech Agenda Bayern Plus.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.