Browse code

minor typo

Joseph Weston authored on 13/09/2021 03:08:51
Showing 1 changed files
... ...
@@ -149,7 +149,7 @@ def phase_shift(phi):
149 149
 # -- Two qubit gates --
150 150
 
151 151
 #: Controlled NOT gate
152
-cnot = controlled(x)
152
+cnot = controlled(not_)
153 153
 #: SWAP gate
154 154
 swap = np.identity(4, complex)[:, (0, 2, 1, 3)]
155 155