qiskit.algorithms.VQE.construct_circuit¶
- VQE.construct_circuit(parameter, operator)[source]¶
Return the circuits used to compute the expectation value.
- Paramètres
parameter (list[float] | list[Parameter] | np.ndarray) – Parameters for the ansatz circuit.
operator (OperatorBase) – Qubit operator of the Observable
- Renvoie
A list of the circuits used to compute the expectation value.
- Type renvoyé
list[QuantumCircuit]