A package for multiprogramming algorithm
Project description
Multiprogramming
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.
Installation
The user can install it by cloning with git
:
https://github.com/peachnuts/Multiprogramming.git
How to use?
The user can find an example in src/main.py
, which includes a list of different circuits.
Another example of finding the ground state of Deuteron using VQE can be found in src/VQE/deuteron_test.py
.
Here are some notes:
- The
crosstalk_properties
should be obtained before the multiprogramming algorithm, using Simultaneous Randomized Benchmarking (SRB). An example of performing SRB is shown insrc/crosstalk/srb_hardware.py
. The optimization methods to parallelize SRB experiments of multiple CNOT pairs is shown insrc/crosstalk/neighbour_pair.py
. The format of thecrosstalk_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)
-
The user should create a list of circuits that are supposed to be executed simultaneously.
-
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 bepartition_hardware_heuristic
(QHSP) orpartition_hardware
(GSP). -
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 siyuan.niu@lirmm.fr.
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 multiprogramming-0.0.1.tar.gz
.
File metadata
- Download URL: multiprogramming-0.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 091e6aecde54966b8756cfa6c25d5788aa97029d019df3b45aee35a46a6cda26 |
|
MD5 | 88093644d799eed7894202c289889811 |
|
BLAKE2b-256 | b03631260c25d73f210280e732c54212bd9f15553fb2a3a0c84ab1cf16109a33 |
File details
Details for the file multiprogramming-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: multiprogramming-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c639e10c2ac813d414ef03c8019e3b011807a862d753aa28628cc8b5109998db |
|
MD5 | 6336fc08fd43ccd12eb04ed188609fdb |
|
BLAKE2b-256 | a5bf5e599d7995b11c62eddbd9db8795e9da855d99cf0a712ef1f278bb1f8d16 |