Table of Contents
While performing qubit calibration experiments - it is necessary to regularly fill out the heatmap graph, as well as fit the curves we can extract from these graphs. Sometimes such measurements can last for hours and if we do not see the result of the measurements immediately, there is a high probability of missing errors related to incorrect configuration of the devices and the measurements will have to be started again.
We wrote a little library that allows you to operate with measurements from devices in real time, approximate the curves obtained from such heatmaps, as well as set the corridor of values on the X and Y axis, which we would like to measure so that we do not have to capture the entire heatmap.
We also wrote a web application using the Plotly Dash framework that allows us to visualize the process of building a heatmap in real time. So that the application can handle even big datasets with ease - it uses the just-in-time compiler numba. Note that the newest version of the app is still under development.
Live heatmap graph data processing provided for FMN laboratory.
This work is a part of metrology of quantum control and measurement in superconducting qubits.
To begin, we know from our circuit design the expected frequency band where the resonator for our qubit lies. We would like to verify the frequency of the resonator and confirm that it is coupled to the qubit as expected. Due to their relatively strong coupling, if we tune the qubit’s frequency by flux biasing the qubit’s SQUID, we should also observe shifts in the resonator’s frequency. We observe this effect by performing spectroscopy on the readout resonator: we pulse the readout chain with microwaves while varying the frequency of the microwaves and the flux bias applied to our qubit. It is called resonator spectroscopy.
Then we need to understand where the qubit's exited state is lying, so we repeat such a technique. When the dynamic bias places the qubit on resonance with our microwave pulse, the qubit undergoes Rabi oscillations, cycling between the |0〉and |1〉states as we increase the drive amplitude. Because the resonator frequency is different for the two qubit states, we will observe oscillations in the resonator response as a function of drive amplitude.
You can see examples of such measurements in the figure section. If you want to learn more about quantum control and measurements - you can read the dissertation of Zijun Chen or other scholarly sources.
Screenshots
Dash app works directly in Jupyter Notebook
Some spectroscopy measurements results
single tone spectroscopy and two tone spectroscopy are shown
- Numba for fast data processing. Numba is an open source JIT compiler that translates a subset of Python and NumPy code into fast machine code.
- Plotly Dash for web app building.
- Peakutils helps our current algorithm to approximate data.
All project requirements/dependencies are represented in pyproject.toml file. You can easily install all deps to your anaconda environment with Poetry. So you only need to download Poetry and traj-dist before installation.
- clone repo
- create new environment via conda (you can use environment file)
conda env create -f conda_env.yaml
- install dependencies with poetry
poetry install
You can see basic example of usage in random test file. Also an example of setting the spectroscopy class, taking into account the connected devices is presented. Full documentation in progress
See the open issues for a list of proposed features (and known issues).
- Top Feature Requests (Add your votes using the 👍 reaction)
- Top Bugs (Add your votes using the 👍 reaction)
- Newest Bugs
Reach out to the maintainer at one of the following places:
- GitHub issues
- Contact options listed on this GitHub profile
First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.
Please read our contribution guidelines, and thank you for being involved!
The original setup of this repository is by Nikolay Zhitkov.
For a full list of all authors and contributors, see the contributors page.
This project is licensed under the MIT license.
See LICENSE for more information.
Metrology of Quantum Control and Measurement in Superconducting Qubits