IQP.diag_gate

IQP.diag_gate(diag, qubit)

Deprecated version of QuantumCircuit.diagonal.