CHGate.to_matrix

CHGate.to_matrix()[source]

Return a numpy.array for the CH gate.