Entry for QHack Hackathon 2022
Variational Quantum Eigensolvers (VQE) for calculating ground state energies of molecules are one of the major applications of noisy intermediate scale quantum (NISQ) computers. However for VQE to be viable on NISQ computers, powerful error mitigation protocols are needed due to the high level of noise.
In this project, we investigate applications of a learning based quantum error mitigation (LBEM) method [1] on VQE for molecular ground state energy calculation. LBEM models an error free result with a quasi probabilistic mixture of noisy results. This distribution is learned via an ab initio process, without prior knowledge on the hardware error model. Clifford circuits are used for the training, so classical simulation is efficient, and the mitigation takes account of both spatial and temporal correlations.
We have implemented LBEM for running H_2 and LiH ansatze on noisy hardware and simulators. Also, we have analyzed the performance of LBEM when truncating the training sets by varying the input size. Result shows successful error mitigation on both noise models and hardwares.
expval_calc_q_optim.py :
- caculates expectation values
- finds optimum quasiprobability distribution
generate_training_set.py :
- generates training and error-mitigated circuits for learning
truncation_accumulated.py :
- analyzes performance of LBEM on truncated train set
util.py :