Text this: Classical variational optimization of a PREPARE circuit for quantum phase estimation of quantum chemistry Hamiltonians