qiskit.algorithms.VQE.construct_circuit¶
- VQE.construct_circuit(parameter, operator)[Quellcode]¶
Return the circuits used to compute the expectation value.
- Parameter
parameter (list[float] | list[Parameter] | np.ndarray) – Parameters for the ansatz circuit.
operator (OperatorBase) – Qubit operator of the Observable
- Rückgabe
A list of the circuits used to compute the expectation value.
- Rückgabetyp
list[QuantumCircuit]