qiskit.algorithms.VQE.construct_circuit¶
- VQE.construct_circuit(parameter, operator)[fuente]¶
Return the circuits used to compute the expectation value.
- Parámetros
parameter (
Union
[List
[float
],List
[Parameter
],ndarray
]) – Parameters for the ansatz circuit.operator (
OperatorBase
) – Qubit operator of the Observable
- Tipo del valor devuelto
List
[QuantumCircuit
]- Devuelve
A list of the circuits used to compute the expectation value.