QuantumCircuit.diag_gate

QuantumCircuit.diag_gate(diag, qubit)

Deprecated version of QuantumCircuit.diagonal.