This repository contains the official implementation and numerical simulation code for the paper "Qubit-Efficient Simultaneous Estimation of Nonlinear Quantum Properties" by Xiao Shi, Jiyu Jiang, Xian Wu, Jingu Xie, Hongshun Yao, and Xin Wang.
Estimating nonlinear properties of quantum states (such as moments
In this work, we propose a unified, hardware-efficient circuit architecture capable of extracting the entire sequence of nonlinear properties simultaneously.
-
Drastic Resource Reduction: Reduces the qubit requirement from
$\mathcal{O}(kn)$ to$\mathcal{O}(n)$ using sequential state injection and mid-circuit measurements/resets. -
Near-Optimal Sample Complexity: Achieves a sample complexity of
$\mathcal{O}(k \log k C_O^2 / \epsilon^2)$ , offering a rigorous quadratic improvement in the maximum degree$k$ compared to prior sequential methods. -
Broad Practical Utility: Supports simultaneous estimation of multiple polynomial functionals and bivariate state overlaps
$\mathrm{Tr}[O(\rho\sigma)^j]$ .
The codebase is organized simply and effectively, with all core simulation scripts contained within the Application directory:
.
βββ Application/
β βββ QVC.py # Quantum Virtual Cooling (QVC) simulations
β βββ bivariate_verify.py # Verification of bivariate state overlaps
β βββ max_eigenvalue.py # Estimation of maximum eigenvalue bounds
β βββ verify.py # Core verification of the simultaneous estimation protocol
βββ README.md
π Installation
We recommend using a virtual environment (e.g., Conda) to run the simulations.
git clone [https://github.com/QUAIR/Nonlinear_Properties.git](https://github.com/QUAIR/Nonlinear_Properties.git)
# Install required packages (e.g., pennylane, numpy, scipy, matplotlib, quairkit)
pip install pennylane numpy scipy matplotlib quairkit