| CPC G06N 10/00 (2019.01) [G01R 31/3177 (2013.01); G06N 3/08 (2013.01); G06N 20/00 (2019.01)] | 20 Claims |

|
1. A method comprising:
obtaining an initial value of a variable parameter of an ansatz preparation circuit, wherein the ansatz preparation circuit is a quantum logic circuit comprising quantum logic gates;
by operation of a quantum processor, generating an initial ansatz by executing the ansatz preparation circuit having the initial value assigned to the variable parameter;
by operation of the quantum processor, computing an expectation value based on the initial ansatz; and
by operation of a classical processor, computing an updated value of the variable parameter based on the expectation value.
|