U1Gate.to_matrix

U1Gate.to_matrix()[source]

Return a numpy.array for the U1 gate.