Giter Club home page Giter Club logo

map-quantum-circuits-to-multi-core's Introduction

Map quantum circuits to multi-core

This project reads quantum circuits (.qasm files, Qiskit Library circuits) and maps them to the layout of a quantum multi-core system. The mapping is based on a quadratic binary unconstrained optimization (QUBO) formulation.

When using this code, please cite:

@article{bandic2023mapping,
  title={Mapping quantum circuits to modular architectures with QUBO},
  author={Bandic, Medina and Prielinger, Luise and N{\"u}{\ss}lein, Jonas and Vardoyan, Gayane and Almudever, Carmen G and Feld, Sebastian others},
  journal={arXiv preprint arXiv:2305.06687},
  year={2023}
}

How to get started

Make sure you have installed Python 3.8 or higher. Activate your virtual environment and run the following command:

pip install -r requirements.txt

We recommend to get started with the jupyter notebook playground.ipynb which contains simple examples to build your first mappings. Also, have a look into experiment.py, which you can use to reproduce our results.

python src/experiment.py test-circuit ../test

Executing this command will map a small quantum program (test-circuit) to a 3x2 core system (similar to the toy model in the paper) and store the mapping results in the output directory test.

map-quantum-circuits-to-multi-core's People

Contributors

luisenden avatar rturrado avatar

Forkers

medinabandic

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.