Fallen Apart
  • Member for 9 months
  • Last seen this week
How do I get the Unitary matrix of this circuit without using 'unitary_simulator'?
1 votes

The 4 qubit case goes as follows: swapcnot = np.array([[1, 0, 0, 0], [0, 0, 0, 1], [0, 0, 1, 0], [0, 1, 0, 0]]) id = np.eye(2) op1 = np....

View answer