qiskit.aqua.algorithms.QAOA.construct_circuit¶
-
QAOA.
construct_circuit
(parameter)¶ Return the circuits used to compute the expectation value.
- Parameters
parameter (
Union
[List
[float
],List
[Parameter
],ndarray
]) – Parameters for the ansatz circuit.- Return type
List
[QuantumCircuit
]- Returns
A list of the circuits used to compute the expectation value.