Skip to main content

A package for multiprogramming algorithm

Project description


This repository contains the implementation of our multiprogramming mapping algorithms, including SRB, qubit mapping partition (GSP and QHSP), and mapping transition. HA algorithm is also included to evalutate the independent executions.


The user can install it by cloning with git:

How to use?

The user can find an example in src/, which includes a list of different circuits.

Another example of finding the ground state of Deuteron using VQE can be found in src/VQE/

Here are some notes:

  1. The crosstalk_properties should be obtained before the multiprogramming algorithm, using Simultaneous Randomized Benchmarking (SRB). An example of performing SRB is shown in src/crosstalk/ The optimization methods to parallelize SRB experiments of multiple CNOT pairs is shown in src/crosstalk/ The format of the crosstalk_properties should be like, for example:
crosstalk_properties = {(2,3):{(5,8) : 0.0317} # E(g_i|g_j) = 0.0317 with g_i = CX(2,3), g_j = CX(5,8)
  1. The user should create a list of circuits that are supposed to be executed simultaneously.

  2. The function main.circuits_schedule is the entry to start the multiprogramming algorithm. The last parameter is the partition method selected by the user. It can be partition_hardware_heuristic (QHSP) or partition_hardware (GSP).

  3. The quantum register size of the benchmarks should be equal to the hardware qubit numbers.

Contact information

If you have any questions, feel free to contact

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

multiprogramming-0.0.1.tar.gz (2.5 kB view hashes)

Uploaded source

Built Distribution

multiprogramming-0.0.1-py3-none-any.whl (10.0 kB view hashes)

Uploaded py3

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