Skip to main content

QuSim, a transmon system simulator

Alt text

Table of Contents

  1. About
  2. User_Guide
  3. Citation
  4. Contribution

About

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/

User_Guide

Install (use pip)

  • Release from pypi (Not newest version, not recommand)
pip install qusim
  • Install from github (The most recent version, not released, recommand) Notice that this method require install git.

Use the following code in terminal

pip install git+https://github.com/RunawayFancy/QuSim.git

Requirement

You are required to install all these python packages in the system for running this simulator. See requirements.txt.

  • Python, version >= 3.10

Installing virtual environment using conda conda -n env_name python=python_ver -ipython

  • qutip, version >= 4.6.3
  • 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 or jupyter notebook, optional

Download

Just downloading the entire folder.

There is also a release.

Usage

We have two version: the transmon_system.py and arb_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.

Features

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

Todo list

Stop lazying

               ---------Jiheng Duan
  • Pulse sequence compiler
  • A better gate set paramter management system
  • Bentchmakring tool box
  • State/process/gate set tomography tool box

Citation

Thank you for taking the time to try our package out. If you found it useful in your research, please cite us as follows:

@software{jhd2024qusim,
  author = {Jiheng Duan, Pan Shi and Fei Yan},
  title  = {QuSim: A object-oriented software toolkit for qubits simulation and control},
  url    = {https://github.com/RunawayFancy/QuSim},
  version = {1.0.3},
  year   = {2024},
}

Contribution & Contact

This package is open-source and welcomes all types of contributions. Whether you want to report a bug, request a feature, or submit a pull request, we encourage you to get involved. We’re also open to deeper collaborations to make the tool as useful as possible for everyone. If you’d like to discuss further, please email jiheng.duan@rochester.edu to schedule a meeting.

Metadata

Release files for qusim 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qusim 1.1.0
File Size Uploaded
qusim-1.1.0.tar.gz 59.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qusim 1.1.0
File Interpreter ABI Platform
qusim-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 131.1 kB

Release files / qusim-1.1.0.tar.gz

Download URL qusim-1.1.0.tar.gz
Size 59.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7c56acc61f2cdf735ebdeff4e5af65053b747e3723fc050f61c293122bd7bc5a
BLAKE2b-256 checksum
How to use checksums
ca6713405ca83d757d6151ac2c047dc9ce6e98ab3d17624360f025e1feadf4a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / qusim-1.1.0-py3-none-any.whl

Download URL qusim-1.1.0-py3-none-any.whl
Size 71.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
552431015a22c596d8054e21fbb7323dd493e071f581547c3bf55224b507bf6b
BLAKE2b-256 checksum
How to use checksums
69523e2f050506d65bace12ec18e159578064c90d5b63028395c0c6440de79ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page