Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Reliable quantum advantage in quantum battery charging - Preprint manuscript and Python code

Davide Rinaldi, Radim Filip, Dario Gerace, Giacomo Guarnieri

Published Jul 14, 2025• 0 citations
Publisher

Abstract

Description This repository contains the open access version of the manuscript Reliable quantum advantage in quantum battery charging, which can also be found on ArXiv. The manuscript has been published on Physical Review A; therefore, the published version is not open access, but the APS Transfer of Copyright Agreement applies. The published version can be found here. Moreover, the repository contains the Python code that has been exploited to perform the simulations discussed in the manuscript. Reference paper Published version: Phys. Rev. A 112, 012205 DOI: https://doi.org/10.1103/6kwv-z6fx Open access version on ArXiv: arXiv:2412.15339 DOI: https://doi.org/10.48550/arXiv.2412.15339 Python code Usage: Computation of the SNR associated with U, Q and W: Run SNR.py: it outputs data file Run SNR_plot.py: it plots the data (Figure 2 in the paper) Computation of the produced power and of the fidelity: Run charge.py: it outputs data file Run charge_plot.py: it plots the data (Figure 3.a and 3.b in the paper) Required libraries: - numpy - matplotlib.pyplot - matplotlib - os - met_brewer Important: the following scripts, - JCGEN.py - JC_evolution.py - veclib.py - operators_toolbox.py - distanceLib.py must be in the same folder of SNR.py, SNR_plot.py, charge.py, and charge_plot.py, since the latter call functions contained in the previous ones.

DOI
10.5281/zenodo.15967639

Related papers

Code and datasets for "Shortcuts to adiabaticity with a quantum control field"

Emma C. King, Giovanna Morigi, Raphaël Menu

Shortcuts to adiabaticity with a quantum control field — Code & data========================================================== This repository contains a Jupyter notebook and supporting data files (csv) to reproduce the numerical results and figures in our manuscript (arXiv 2508.06304), which investigates adiabatic shortcuts mediated by a quantum control field.The code implements a Landau–Zener two-level system coupled to a spectator qubit, time evolution of the full system (LZ qubit + spectator) via QuTiP, parameter sweeps (parallelized with joblib), and plotting utilities for the manuscript figures. Related publication----------------------------This code is complementary to the preprint: https://arxiv.org/abs/2508.06304. Requirements---------------------The simulations were developed for and tested on Python 3.9+. Recommended packages and minimum versions: - Python >= 3.9- numpy >= 1.22- scipy >= 1.8- matplotlib >= 3.5- qutip >= 4.6 (install a recent stable qutip; some installations require `pip install qutip` or `conda` channels)- joblib >= 1.2- tqdm >= 4.60- pandas (optional, for CSV handling)- jupyterlab / notebook (for interactive use) Running the notebook (interactive) Open the notebook with JupyterLab or Jupyter Notebook. Execute cells sequentially in the order indicated by the notebook outline.The sections “Definitions” and “Figure imports and setup” must be executed before generating any data or figures, as they define all operators, and helper functions. The notebook is organized into separate sections for each figure of the manuscript, allowing you to re-run only the figure(s) of interest. Note: Figure 4 (Density plot) is configured to load precomputed data files to reduce computational cost. To reproduce Figure 4 without recomputing the full dataset, ensure the required .csv files are downloaded and located in the same directory as the notebook. To explore different parameter regimes: Modify the relevant parameter definitions (e.g., anneal_window, g, epsilon, omega_c, x0, x0_vals, q_vals). To include dissipation of the spectator (ancilla) qubit, set the parameter kappa> 0. For questions about reproducing the figures or about parameter choices used in the paper, contact the corresponding authors listed in the preprint. If you reuse this data/code, please cite the associated preprint and this code archive.

•Feb 22, 2026•0 citations

Data repository of the paper "Exponential quantum advantage for learning signals with a single qubit"

Ishaan Kannan, Sridhar Prabhu, Saeed A. Khan +7 more

This data repository contains the information necessary to reproduce the main results of the paper “Exponential quantum advantage for learning signals with a single qubit”. The repository contains both the data required to generate the figures of the main manuscript and the supplemental material, as well as source code for running the experiments and simulations presented in the paper. There are two main folders: experiment_code (which contains all experimental scripts to calibrate device and run the protocols presented in the paper) and simulation_code (which contains simulation details of the dark matter and communication detection tasks) The data folder contains experimental raw and processed data generated. The figures folder contains all the plots presented in the manuscript.

•Aug 12, 2026•0 citations

Non-equilibrium thermodynamics of precision through a quantum-centric computation: source code and data

Mário Motta, Antonio Mezzacapo, Giacomo Guarnieri

Source code, data, and script to reproduce the results of "Non-equilibrium thermodynamics of precision through a quantum-centric computation" (https://arxiv.org/pdf/2503.03868). The repository is accompanied by a README file guiding users trhough the repository, and a YML file to reproduce the computational environment needed to run the scripts.

•Apr 8, 2025•0 citations

Engineered non-Gaussian Coherence as a Thermodynamic Resource for Quantum Batteries

Kingshuk Adhikary

This repository contains the numerical data and computational codes supporting the results presented in the manuscript: "Engineered non-Gaussian Coherence as a Thermodynamic Resource for Quantum Batteries". The archive (data_QB.zip) includes all datasets, Jupyter notebooks, and figure files required to reproduce the results reported in both the main text and the Supplemental Material. Each figure is organised in a separate directory containing the corresponding data (.txt), code (.ipynb), and generated plots (.png/.pdf). The provided materials are sufficient to reproduce all figures and results without restriction. Detailed instructions and directory structure are described in the accompanying README.txt file. This dataset is made openly available to ensure transparency and reproducibility of the reported results.

•Apr 11, 2026•0 citations

Data repository of the paper "Quantum computational displacement sensing"

Sridhar Prabhu, Saeed A. Khan, Xingrui Song +7 more

This data repository contains the information necessary to reproduce the main results of the paper “Quantum computational displacement sensing”. The repository contains both the data required to generate the figures of the main manuscript and the supplemental material, as well as source code for running the experiments and simulations presented in the paper. There are two main folders: code_simulation (which consists of the training code and the baseline simulations) and code_experiment (which covers the experimental code). The corresponding requirements for running them are in the zipped folder. The data folder contains all simulation and experimental raw and processed data generated. The figures folder contains all the plots presented in the manuscript.

•Apr 11, 2026•0 citations

Towards near-term quantum simulation of materials

Laura Clinton, Toby S. Cubitt, Brian Flynn +6 more

Overview of data provided in support of Towards near-term quantum simulation of materials Contents of this folder: `analyse_materials_results.py`: script used to generate the summary tables and figures presented in the manuscript. `towards_quantum_simulation_data`: raw data used and produced when studying various 3D materials. `towards_quantum_simulation_analysis`: tables (in `.tex` format) and figures (as PDFs) presented in the manuscript. The contents of `towards_quantum_simulation_analysis` were generated by `analyse_materials_results.py`, i.e. the user need not run the script to produce the output files. Users can generate these analyses directly by running ```python analyse_materials_results.py```, though note the following packages will first need to be installed: `pandas >= 1.2.3` `numpy >= 1.23` `seaborn >= 0.11.1` `lfig >= 0.1.3` `matplotlib > 3.7.0` Included data Within `towards_quantum_simulation_data`, there are subfolders for each of the materials described in the manuscript, i.e. `SrVO3`, `GaAs`, `H3S`, `Si`, `Li2CuO2`. Within each material's folder are further subfolders for the `hamiltonian` and `encoding` used to represent the material, as well as subfolders for each of the `algorithms` studied. `hamiltonian`: files which specify the Hamiltonian for the material under study. There are a number of files `interactions.json` Hamiltonian terms in terms of Majorana monomials. `map_majorana_to_mode.json` keys are Majorana indices; values are the mode index to which they are associated. `map_mode_to_group.json` keys are mode indices; values are the group (or site) index to which they are associated. `map_group_to_position.json` keys are group indices; values are the corresponding 3D Cartesian coordinates of the lattice used to represent the material. `stage_data.json` contains key/value pairs of any other fields of interest. `encoding` files which specify the fermionic encoding which is customised for the material under study. `encoding.json` which details the edges of the hybrid compact encoding described in Section VI of the supplementary material. `precompiler.json` contains all the information which permits the encoding construction, including the Hamiltonian terms (`_interactions`) which match those in `hamiltonian/interactions.json`. The same mappings as present in the Hamiltonian data(a.g. `map_group_to_position`). `stage_data.json` contains key/value pairs of any other fields of interest. `algorithms` contains subfolders for each of the algorithms desribed in the manuscript Those explored for circuits depths: `TDSSplitTermsPriorityCircuitDepth` (TDS in the manuscript) `TDSSplitTermsPriorityCircuitDepthNoSwapNetwork` (TDS\*) `VQESplitTerms` (VQE) `VQESplitTermsNoSwapNetwork` (VQE*) each of which contain the files, inside the `circuitry` folder: `circuit_terms.csv`, which lists each individual term, together with their Pauli string and rotation angle, required to construct the corresponding quantum circuit `circuit_layers_to_implement.csv` groups the same terms into layers to achieve parallelism in the circuit. `stage_data.json` contains key/value pairs of any other fields of interest. and those used to compose measurement layers, as outlined in Section VII D of the supplementary material: `MeasurementCommutativity` `MeasurementNaiveQubitwise` `MeasurementNonCrossing` each of which contain the files, inside the `compilation` folder: `layers.csv` lists the terms which may be measured simultaneously to achieve the measurement strategies shown in Table S14. `stage_data.json` contains key/value pairs of any other fields of interest. CSV files In `towards_quantum_simulation_data`, there are unified CSV files containing the results of applying the procedures described in the manuscript to the target materials. `circuit_costs.csv`: results of running the circuit compiler described in the manuscript. `measurements.csv`: results of running the measurement compiler described in the manuscript. These CSVs are used in the analysis script `analyse_materials_results.py` to produce the figures and tables presented in the manuscript.

arXiv:2205.15256•May 30, 2022•8 citations
Description This repository contains the open access version of the manuscript Reliable quantum advantage in quantum battery charging, which can also be found on ArXiv. The manuscript has been published on Physical Review A; therefore, the published version is not open access, but the APS Transfer of Copyright Agreement applies. The published version can be found here. Moreover, the repository contains the Python code that has been exploited to perform the simulations discussed in the manuscript. Reference paper Published version: Phys. Rev. A 112, 012205 DOI: https://doi.org/10.1103/6kwv-z6fx Open access version on ArXiv: arXiv:2412.15339 DOI: https://doi.org/10.48550/arXiv.2412.15339 Python code Usage: Computation of the SNR associated with U, Q and W: Run SNR.py: it outputs data file Run SNR_plot.py: it plots the data (Figure 2 in the paper) Computation of the produced power and of the fidelity: Run charge.py: it outputs data file Run charge_plot.py: it plots the data (Figure 3.a and 3.b in the paper) Required libraries: - numpy - matplotlib.pyplot - matplotlib - os - met_brewer Important: the following scripts, - JCGEN.py - JC_evolution.py - veclib.py - operators_toolbox.py - distanceLib.py must be in the same folder of SNR.py, SNR_plot.py, charge.py, and charge_plot.py, since the latter call functions contained in the previous ones.
Shortcuts to adiabaticity with a quantum control field — Code & data========================================================== This repository contains a Jupyter notebook and supporting data files (csv) to reproduce the numerical results and figures in our manuscript (arXiv 2508.06304), which investigates adiabatic shortcuts mediated by a quantum control field.The code implements a Landau–Zener two-level system coupled to a spectator qubit, time evolution of the full system (LZ qubit + spectator) via QuTiP, parameter sweeps (parallelized with joblib), and plotting utilities for the manuscript figures. Related publication----------------------------This code is complementary to the preprint: https://arxiv.org/abs/2508.06304. Requirements---------------------The simulations were developed for and tested on Python 3.9+. Recommended packages and minimum versions: - Python >= 3.9- numpy >= 1.22- scipy >= 1.8- matplotlib >= 3.5- qutip >= 4.6 (install a recent stable qutip; some installations require `pip install qutip` or `conda` channels)- joblib >= 1.2- tqdm >= 4.60- pandas (optional, for CSV handling)- jupyterlab / notebook (for interactive use) Running the notebook (interactive) Open the notebook with JupyterLab or Jupyter Notebook. Execute cells sequentially in the order indicated by the notebook outline.The sections “Definitions” and “Figure imports and setup” must be executed before generating any data or figures, as they define all operators, and helper functions. The notebook is organized into separate sections for each figure of the manuscript, allowing you to re-run only the figure(s) of interest. Note: Figure 4 (Density plot) is configured to load precomputed data files to reduce computational cost. To reproduce Figure 4 without recomputing the full dataset, ensure the required .csv files are downloaded and located in the same directory as the notebook. To explore different parameter regimes: Modify the relevant parameter definitions (e.g., anneal_window, g, epsilon, omega_c, x0, x0_vals, q_vals). To include dissipation of the spectator (ancilla) qubit, set the parameter kappa> 0. For questions about reproducing the figures or about parameter choices used in the paper, contact the corresponding authors listed in the preprint. If you reuse this data/code, please cite the associated preprint and this code archive.
This data repository contains the information necessary to reproduce the main results of the paper “Exponential quantum advantage for learning signals with a single qubit”. The repository contains both the data required to generate the figures of the main manuscript and the supplemental material, as well as source code for running the experiments and simulations presented in the paper. There are two main folders: experiment_code (which contains all experimental scripts to calibrate device and run the protocols presented in the paper) and simulation_code (which contains simulation details of the dark matter and communication detection tasks) The data folder contains experimental raw and processed data generated. The figures folder contains all the plots presented in the manuscript.
This repository contains the numerical data and computational codes supporting the results presented in the manuscript: "Engineered non-Gaussian Coherence as a Thermodynamic Resource for Quantum Batteries". The archive (data_QB.zip) includes all datasets, Jupyter notebooks, and figure files required to reproduce the results reported in both the main text and the Supplemental Material. Each figure is organised in a separate directory containing the corresponding data (.txt), code (.ipynb), and generated plots (.png/.pdf). The provided materials are sufficient to reproduce all figures and results without restriction. Detailed instructions and directory structure are described in the accompanying README.txt file. This dataset is made openly available to ensure transparency and reproducibility of the reported results.
This data repository contains the information necessary to reproduce the main results of the paper “Quantum computational displacement sensing”. The repository contains both the data required to generate the figures of the main manuscript and the supplemental material, as well as source code for running the experiments and simulations presented in the paper. There are two main folders: code_simulation (which consists of the training code and the baseline simulations) and code_experiment (which covers the experimental code). The corresponding requirements for running them are in the zipped folder. The data folder contains all simulation and experimental raw and processed data generated. The figures folder contains all the plots presented in the manuscript.
Overview of data provided in support of Towards near-term quantum simulation of materials Contents of this folder: `analyse_materials_results.py`: script used to generate the summary tables and figures presented in the manuscript. `towards_quantum_simulation_data`: raw data used and produced when studying various 3D materials. `towards_quantum_simulation_analysis`: tables (in `.tex` format) and figures (as PDFs) presented in the manuscript. The contents of `towards_quantum_simulation_analysis` were generated by `analyse_materials_results.py`, i.e. the user need not run the script to produce the output files. Users can generate these analyses directly by running ```python analyse_materials_results.py```, though note the following packages will first need to be installed: `pandas >= 1.2.3` `numpy >= 1.23` `seaborn >= 0.11.1` `lfig >= 0.1.3` `matplotlib > 3.7.0` Included data Within `towards_quantum_simulation_data`, there are subfolders for each of the materials described in the manuscript, i.e. `SrVO3`, `GaAs`, `H3S`, `Si`, `Li2CuO2`. Within each material's folder are further subfolders for the `hamiltonian` and `encoding` used to represent the material, as well as subfolders for each of the `algorithms` studied. `hamiltonian`: files which specify the Hamiltonian for the material under study. There are a number of files `interactions.json` Hamiltonian terms in terms of Majorana monomials. `map_majorana_to_mode.json` keys are Majorana indices; values are the mode index to which they are associated. `map_mode_to_group.json` keys are mode indices; values are the group (or site) index to which they are associated. `map_group_to_position.json` keys are group indices; values are the corresponding 3D Cartesian coordinates of the lattice used to represent the material. `stage_data.json` contains key/value pairs of any other fields of interest. `encoding` files which specify the fermionic encoding which is customised for the material under study. `encoding.json` which details the edges of the hybrid compact encoding described in Section VI of the supplementary material. `precompiler.json` contains all the information which permits the encoding construction, including the Hamiltonian terms (`_interactions`) which match those in `hamiltonian/interactions.json`. The same mappings as present in the Hamiltonian data(a.g. `map_group_to_position`). `stage_data.json` contains key/value pairs of any other fields of interest. `algorithms` contains subfolders for each of the algorithms desribed in the manuscript Those explored for circuits depths: `TDSSplitTermsPriorityCircuitDepth` (TDS in the manuscript) `TDSSplitTermsPriorityCircuitDepthNoSwapNetwork` (TDS\*) `VQESplitTerms` (VQE) `VQESplitTermsNoSwapNetwork` (VQE*) each of which contain the files, inside the `circuitry` folder: `circuit_terms.csv`, which lists each individual term, together with their Pauli string and rotation angle, required to construct the corresponding quantum circuit `circuit_layers_to_implement.csv` groups the same terms into layers to achieve parallelism in the circuit. `stage_data.json` contains key/value pairs of any other fields of interest. and those used to compose measurement layers, as outlined in Section VII D of the supplementary material: `MeasurementCommutativity` `MeasurementNaiveQubitwise` `MeasurementNonCrossing` each of which contain the files, inside the `compilation` folder: `layers.csv` lists the terms which may be measured simultaneously to achieve the measurement strategies shown in Table S14. `stage_data.json` contains key/value pairs of any other fields of interest. CSV files In `towards_quantum_simulation_data`, there are unified CSV files containing the results of applying the procedures described in the manuscript to the target materials. `circuit_costs.csv`: results of running the circuit compiler described in the manuscript. `measurements.csv`: results of running the measurement compiler described in the manuscript. These CSVs are used in the analysis script `analyse_materials_results.py` to produce the figures and tables presented in the manuscript.