Implementation of CUSP using Cirq
Compressed Unsupervised State Preparation (CUSP) is a method for building more efficient quantum circuits by using a quantum autoencoder. The protocol performs a kind of circuit synthesis that, if training is successful, results in a more compact circuit. Since typically shorter-depth circuits are less prone to noise on a real quantum computer, this tool gives the opportunity to make a more accurate state preparation, resulting in better accuracy for a quantum computation. In this demo, we will use the example of improving a circuit which computes the ground state energies of molecular hydrogen at various bond lengths.
For a formal description of the CUSP protocol, please see: CUSP Algorithm Overview.
To proceed to the code demo, see: CUSP Demo.
For a short video tutorial, see: Video Code Walkthrough