Minimal state-preparation times for silicon spin qubits source code
This repository contains the source code required to reproduce and plot the data presented in:
Long, C.K., Mayhall, N.J., Economou, S.E. et al. Minimal state-preparation
times for silicon spin qubits. npj Quantum Inf 11, 113 (2025).
https://doi.org/10.1038/s41534-025-01027-8
A C++ library and several Python packages were developed for this project and have been packaged. The decision to distribute these libraries and packages separately was taken to increase the reusability of the code and improve the code quality and robustness by decoupling the modules. These packages are briefly described below.
Installation
The required Python packages can be installed by executing
pip install -r requirements.txtpip install -e ./
in the root directory of this repository. To ensure reproducibility, all packages in requirements.txt are version pinned, and Python 3.10.16 should be used.
Downloading the data
The data for the article can be found at:
Long, C. K., Barnes, C. H. W., Arvidsson-Shukur, D. R. M., & Mertig, N. (2025). Minimal state-preparation times for silicon spin qubits data [Data set]. Zenodo. https://doi.org/10.5281/zenodo.15676408
The data can be downloaded to the correct directories for plotting by running
bash scripts/download_data_from_zenodo.sh
Reproducing the data
Warning: Some of the intermediate data files (not uploaded to Zenodo) produced have sizes on the order of 50 GB.
Warning: We expect the data collection scripts to take several weeks to months to run on CPUs with approximately 64 cores.
Warning: The data collection scripts likely need more than 50 GB of RAM (or SWAP) to store the intermediate data. The exact memory requirements have not been benchmarked. That said, the data was collected on a device with 2 TB of RAM.
Alternatively, all of the data can be collected in series by executing
A high-performance C++ header-only library for evolving states under the Schrödinger equation using first-order Suzuki-Trotter and computing switching functions. Performance benchmarks with a Python wrapper can be found here: https://PySTE.readthedocs.io/en/latest/benchmarks/index.html.
A Python wrapper around Suzuki-Trotter-Evolver allowing for fast simulation of time-dependent Hamiltonians in Python. Our performance benchmarks (https://PySTE.readthedocs.io/en/latest/benchmarks/index.html) demonstrate that PySTE can be up to 100 times faster than QuTiP for the types of quantum systems we focused on in our article. It is this acceleration that allowed us to scan the extensive ranges of device parameters presented in our article.
This repository will only be updated to fix bugs that prevent the reproducibility of the data presented in the article. To ensure reproducibility of the article any bugs that are found that have impacted the data in the article will not be fixed.
Christopher K. Long, Crispin H. W. Barnes, and Normann Mertig. Minimal state-preparation times for silicon spin qubits source code repository, (Zenodo, 2025), DOI: 10.5281/zenodo.17340394.
BibTeX
@software{long_2025_17340395, author = {Long, Christopher K. and Barnes, Crispin H. W. and Mertig, Normann}, title = {Minimal state-preparation times for silicon spin qubits source code repository }, month = jun, year = 2025, license = {Apache-2.0}, publisher = {Zenodo}, doi = {10.5281/zenodo.17340394}, url = {https://doi.org/10.5281/zenodo.17340394}, swhid = {swh:1:dir:35554a36bd793323cc3337267fce17d41f2127e5 ;origin=https://doi.org/10.5281/zenodo.17340394;vi sit=swh:1:snp:ff9c8cb35bf352c779fa30a73a3bf13a6fa4 a94e;anchor=swh:1:rel:d4268a10d687ff6eb81c694f9183 24adb98ff1a7;path=Christopher-K-Long-Minimal- state-preparation-times-for-silicon-spin-qubits- source-code-ff04db6 },}
Christopher K. Long, Henrik Gothen, Crispin H. W. Barnes, David R. M. Arvidsson-Shukur, and Normann Mertig. QuGradLab, (Zenodo, 2025–2026), DOI: 10.5281/zenodo.17116725. ↩
[3]
Christopher K. Long, Crispin H. W. Barnes, and Normann Mertig. QuGrad, (Zenodo, 2025–2026), DOI: 10.5281/zenodo.17116721. ↩
[4]
Christopher K. Long, Crispin H. W. Barnes, and Normann Mertig. PySTE, (Zenodo, 2025–2026), DOI: 10.5281/zenodo.17116431. ↩
This website does not use cookies. If you allow it, your settings, such as the theme, and the earlier versions of the site that you view are kept in your browser's local storage on this device, and are not sent anywhere. Some of its pages also include content, such as posts, videos and images, that is loaded from Bluesky, GitHub, GitLab, LinkedIn, Read the Docs, Software Heritage, X, YouTube and Zenodo. Loading them connects your browser to those services, which may set cookies and log your visit. Unless you allow it, a text version or a link is shown instead. More in the privacy policy.
Bluesky
GitHub
GitLab
LinkedIn
Read the Docs
Software Heritage
X
YouTube
Zenodo
Until local storage is allowed, nothing is kept on this device: settings and these choices only last until the page is reloaded or closed, and earlier versions of the site are unavailable. "Decline all" keeps only a record of your choices, so that you are not asked again. Each kind of local storage can be allowed on its own under "Breakdown".
Allow local storage
Privacy choices (kept so that you are not asked again)