PolynomialPauliRotations.diag_gate

PolynomialPauliRotations.diag_gate(diag, qubit)

Deprecated version of QuantumCircuit.diagonal.