Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.dagcircuit.DAGCircuit.apply_operation_back

DAGCircuit.apply_operation_back(op, qargs=(), cargs=())[código fonte]

Apply an operation to the output of the circuit.

Parâmetros
  • op (qiskit.circuit.Operation) – the operation associated with the DAG node

  • qargs (tuple[Qubit]) – qubits that op will be applied to

  • cargs (tuple[Clbit]) – cbits that op will be applied to

Retorno

the node for the op that was added to the dag

Tipo de retorno

DAGOpNode

Levanta

DAGCircuitError – if a leaf node is connected to multiple outputs