Operator Sampling for Shot-frugal Optimization in Variational Algorithms
Preprint
Abstract
Quantum chemistry is a near-term application for quantum computers. This application may be facilitated by variational quantum-classical algorithms (VQCAs), although a concern for VQCAs is the large number of measurements needed for convergence, especially for chemical accuracy. Here we introduce a strategy for reducing the number of measurements (i.e., shots) by randomly sampling operators $h_i$ from the overall Hamiltonian $H = \sum_i c_i h_i$. In particular, we employ weighted sampling, which is important when the $c_i$'s are highly non-uniform, as is typical in chemistry. We integrate this strategy with an adaptive optimizer developed recently by our group to construct an improved optimizer called Rosalin (Random Operator Sampling for Adaptive Learning with Individual Number of shots). Rosalin implements stochastic gradient descent while adapting the shot noise for each partial derivative and randomly assigning the shots amongst the $h_i$ according to a weighted distribution. We implement this and other optimizers to find the ground states of molecules H$_2$, LiH, and BeH$_2$, without and with quantum hardware noise, and Rosalin outperforms other optimizers in most cases.
Keywords
All Related Versions
This publication has 33 references indexed in Scilit:
- Variational algorithms for linear algebraScience Bulletin, 2021
- Optimizing quantum heuristics with meta-learningQuantum Machine Intelligence, 2021
- Variational fast forwarding for quantum simulation beyond the coherence timenpj Quantum Information, 2020
- Measuring All Compatible Operators in One Series of Single-Qubit Measurements Using Unitary TransformationsJournal of Chemical Theory and Computation, 2020
- Unitary Partitioning Approach to the Measurement Problem in the Variational Quantum Eigensolver MethodJournal of Chemical Theory and Computation, 2019
- Variational ansatz-based quantum simulation of imaginary time evolutionnpj Quantum Information, 2019
- Variational consistent histories as a hybrid algorithm for quantum foundationsNature Communications, 2019
- Barren plateaus in quantum neural network training landscapesNature Communications, 2018
- Hardware-efficient variational quantum eigensolver for small molecules and quantum magnetsNature, 2017
- A variational eigenvalue solver on a photonic quantum processorNature Communications, 2014