IGate.to_matrix

IGate.to_matrix()[source]

Return a numpy.array for the identity gate.