qiskit.algorithms.VQE.construct_circuit¶
- VQE.construct_circuit(parameter, operator)[código fonte]¶
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 de retorno
List
[QuantumCircuit
]- Retorno
A list of the circuits used to compute the expectation value.