GraphState.diag_gate

GraphState.diag_gate(diag, qubit)

Deprecated version of QuantumCircuit.diagonal.