English | 简体中文
Quanlse (量脉) is a cloud-based platform for quantum control developed by the Institute for Quantum Computing at Baidu Research. Quanlse aims to bridge the gap between quantum software and hardware. It provides efficient and professional quantum control solutions via an open-source SDK strengthened by Quanlse Cloud Service.
Quanlse supports the pulse generation and scheduling of arbitrary single-qubit and two-qubit gates. With the help of toolkits in Quanlse, one can use Quanlse for modeling real superconducting quantum chips, simulating noisy quantum devices and dynamical evolution, visualizing error analysis, and characterizing and mitigating error. Single/two-qubit gates and general Mølmer-Sørensen gate realization on the trapped ion platform and relevant applications on the NMR platform are also available in Quanlse. For the practicality in experiments, Quanlse provides the toolkit for qubit and readout cavity calibration. Furthermore, Quanlse supports pulse-level control of quantum algorithms and advanced R&D (Research & Development) in the field of quantum control.
Attention: We have added some exciting features and further improved the original ones in Quanlse v2.2. We strongly recommend users to upgrade to Quanlse v2.2!
In this update, we provide Lab
package to support the superconducting quantum computing experiment, as well as the interface for experiment parameter service and hardware access. At the same time, we improved the fundamental modules to support the flexible defining of control pulses and control channels. In trapped ion, we provide a robust quantum laser pulse control solution, and provide some fundamental modules for quantum laser, ion chip and ion-phonon evolution trajectory to reveal the noise influence on trapped ion system.
We strongly recommend using Anaconda for your R&D environment and upgrading the requirements to the latest versions for the best experience.
We recommend the following way of installing Quanlse with pip
pip install Quanlse
If you have already installed Quanlse, use the following code to update
pip install --upgrade Quanlse
You can also download all the files and install Quanlse locally
git clone http://github.com/baidu/Quanlse
cd Quanlse
pip install -e .
Now, you can try to run a program to verify whether Quanlse has been installed successfully
cd Example
python 1-example-pi-pulse.py
To get started with Quanlse, users are recommended to go through the Overview firstly to acquire the whole picture of this platform. Quick Start could then be a good place to guide you on how to use Quanlse Cloud Service step by step and how to construct your first program using Quanlse. Next, users are encouraged to learn more functions and applications from the tutorials Quanlse provided. Finally, it would be great if users could solve their own problems using Quanlse. For complete and detailed documentation of the Quanlse API, please refer to our API documentation.
Quanlse provides detailed and comprehensive tutorials from fundamental to advanced topics. Each tutorial currently supports reading on our website. For interested developers, we recommend them to download Jupyter Notebooks and play with it. The tutorial list is as follows:
- QuanlseSuperconduct
- Construct Hamiltonian
- Single-Qubit Control
- Two-Qubit Gate Control
- Quanlse Scheduler
- Error Processing
- Noisy Simulator
- Qubit and Pulse Calibration
- Pulse-Based Variational Quantum Eigensolver Algorithm
- QuanlseTrappedIon
- QuanlseNMR
Users are encouraged to contact us through Github Issues or quanlse@baidu.com with general questions, bugs, and potential improvements. We hope to make Quanlse better together with the community!
Q: How should I get started with Quanlse?
A: We recommend users go to our website and follow the roadmap.
- Step 1: Go to Quick Start to learn how to access Quanlse Cloud Service.
- Step 2: Get familiarized with Quanlse by going through the examples of Single-Qubit Control and Two-Qubit Control.
- Step 3: Explore more possibilities with Quanlse by studying more advanced applications, such as Quanlse Scheduler, Error Processing, Noisy Simulator, Two-Qubit Simulator with Coupler Architecture, Qubit and Pulse Calibration and Pulse-based Variational Quantum Eigensolver Algorithm.
Q: What should I do when I run out of my credit points?
A: Please contact us on Quantum Hub. First, you should log into Quantum Hub, then enter the "Feedback" page, choose "Get Credit Point", and input the necessary information. Submit your feedback and wait for a reply.
Q: How should I cite Quanlse in my research?
A: We encourage developers to use Quanlse to do research & development in the field of quantum control. Please cite us by including BibTeX file.
The changelog of this project can be found in CHANGELOG.md.
Quanlse uses Apache-2.0 license.