Permutation.diag_gate

Permutation.diag_gate(diag, qubit)

Deprecated version of QuantumCircuit.diagonal.