Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.algorithms.QAOA.construct_circuit

QAOA.construct_circuit(parameter, operator)

Return the circuits used to compute the expectation value.

Parámetros
  • parameter (list[float] | list[Parameter] | np.ndarray) – Parameters for the ansatz circuit.

  • operator (OperatorBase) – Qubit operator of the Observable

Devuelve

A list of the circuits used to compute the expectation value.

Tipo del valor devuelto

list[QuantumCircuit]