CMT Group Seminar | November 04, 10:00

Exponential Improvement of Variational Preparation of Matrix Product States via Automatic Differentiation

Riccardo Cioli

Preparation of matrix product states (MPS) on real quantum hardware requires compiling them into quantum circuits of two-qubit gates and minimal depth. Classical variational algorithms provide a practical approach to this problem, by reducing the search of the depth-$\tau$ circuit that best approximates a target state to the iterative minimization of a classical cost function, such as the fidelity, by means of a classical optimizer. Typically, the computational cost of such approaches scales exponentially in $\tau$, which in practice strongly constrains them to small depth and system sizes. We overcome this problem by forcing the variational search to favour circuits that generate intermediate states which are well approximated by MPS with maximum bond dimension $\chi$ independent of $\tau$. We achieve this by truncating the evolved state after every layer, which automatically results in a modified cost function that rewards small truncation error. Particular care is spent in writing down automatic differentiation (AD) rules to compute the gradient of the cost function efficiently and to machine precision.
The result is a variational algorithm whose computational cost per iteration is $O(\tau N\chi^3)$ for a system of $N$ qubits. We test this approach for the state preparation of ground states of the 1D Ising and XXZ models on up to $N=300$ qubits, as well as $\chi=2$ MPS of tunable correlation length $\xi$, which allows us to identify scalings of the circuit depth needed to reach preparation error $\epsilon$.


AG Turkeshi
0.03
Contact: Simon Trebst