A simulator aim at simulating and solving Transmon based qubit-coupler-resonator system.
This program is directed by Dr. Fei Yan, BAQIS. The original code structe is adoppted from Mr. Pan Shi, Wuhan University & BAQIS, and contributed by Mr. Jiheng Duan and Dr. Ruixia Wang, and Dr. Zhen Chen.
Look up the PyPI page: https://pypi.org/project/qusim/
pip install qusim
You are required to install all these python packages in the system for running this simulator. See requirements.txt
.
Python
, version >= 3.10Installing virtual environment using conda
conda -n env_name python=python_ver -ipython
qutip
, version >= 4.6.3
- Nocie that
qutip 4.6.3
requiresscipy 1.10.1
exactly. Otherwise it will raise up error in functionfast_crs_matrix
. (https://stackoverflow.com/questions/76560698/python-3-10-qutip-attributeerror-cant-set-attribute-format)
matplotlib==3.8.3
mpmath==1.3.0
,pillow==10.2.0
,scipy==1.12.0
,sympy==1.12
,tqdm==4.66.2
,h5py==3.11.0
,pyqtgraph==0.13.7
,PyQt5==5.15.10
,vispy==0.14.3
,jupyter lab
orjupyter notebook
, optional
Just downloading the entire folder.
There is also a release.
We have two version: the
transmon_system.py
andarb_qubit_system.py
The detailed tutorial are shown in folder tutorial/~
, including required imports, define a system, what inside a system, scan zz-coupling, scan energy level, driven system dynamics, single qubit gate calibration, and DRAG calibration.
Our simulator includes the following features:
- Support multiple qubits
- Multiple initial state simulation
- Internal plot function
- DRAG
- Generalized for any qubit
- Good data saving and loading functions
- Tunable coupler helper
- Aviod crossing helper
Stop lazying
---------Runaway_Fancy
- Pulse sequence compiler
- A better gate set paramter management system
- Bentchmakring tool box
- State/process/gate set tomography tool box