Quantum device experiments automation

During my PhD and postdoctoral research, I built software for automating quantum-device experiments and data acquisition. Dissatisfied with existing laboratory frameworks, I developed a modular Python-based system for instrument control, visualization, and analysis. Together with MPhil student Chen Huang, who greatly expanded the original design, it became the primary software framework used in our charge-noise measurements of semiconductor devices.

During my PhD, I performed experiments on quantum dots and electron spins in silicon semiconductor devices. These experiments required coordinating many independent pieces of laboratory equipment, including oscilloscopes, microwave sources, voltage sources, lock-in amplifiers, and superconducting magnets. Running measurements reliably often required precise synchronization between instruments, while producing large amounts of data for subsequent analysis.

Many researchers use LabVIEW for instrument control. I preferred Python because it was more flexible and easier to extend. I also used QCoDeS, an open-source framework widely used in the quantum computing community. While QCoDeS had many strengths, particularly its collection of instrument drivers, I often found it too opinionated and not always suited to the way I wanted to run experiments. Updates frequently changed APIs and experimental workflows, sometimes requiring substantial rewrites of existing notebooks and measurement code.

A large part of my work involved extending and improving the software stack. I studied instrument manuals, implemented missing functionality, fixed bugs in existing drivers, and worked directly with equipment vendors to better understand their communication protocols. Over time, I rewrote many parts of the measurement framework to better suit our needs and experimental style.

When helping establish a new laboratory during my postdoctoral work at Imperial College London, I decided to build a more modular automation framework from the ground up. The goal was to create a system that controlled instruments, managed measurements, produced plots, stored data, and remained easy to extend as new hardware and experiments were introduced.

MPhil student Chen Huang, a brilliant researcher, greatly expanded the original design under my supervision and guidance. Together we developed a flexible software framework that became the primary tool for controlling experiments and analysing data. The system played an important role in our large-scale charge-noise measurements on commercial semiconductor transistors, allowing reproducible characterization across many devices and experimental configurations.

code