Variational template

What is an ansatz in a variational quantum algorithm?

A

The basis in which the final qubit measurements are recorded

B

A parameterized quantum circuit used to prepare candidate states

C

The Hermitian operator whose expectation value is being minimised

D

The classical routine that updates the circuit's parameters