CXGate.to_matrix

CXGate.to_matrix()[source]

Return a numpy.array for the CX gate.