qiskit.algorithms.VQD.construct_circuit¶
- VQD.construct_circuit(parameter, operator)[source]¶
Return the circuits used to compute the expectation value.
- Parameters
parameter (list[float] | list[Parameter] | np.ndarray) -- Parameters for the ansatz circuit.
operator (OperatorBase) -- Qubit operator of the Observable
- Returns
A list of the circuits used to compute the expectation value.
- Return type
list[QuantumCircuit]