Skip to content

Commit 7364c35

Browse files
chore: returned drift hamiltonian to be zero to be consistent with old notebook
1 parent 9233375 commit 7364c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials-v5/optimal-control/control-grape-cnot.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ U_target
5151

5252
```python
5353
# Drift Hamiltonian
54-
g = np.pi / (4 * T)
54+
g = 0
5555
H_drift = g * (
5656
qt.tensor(qt.sigmax(), qt.sigmax()) + qt.tensor(qt.sigmay(), qt.sigmay())
5757
)

0 commit comments

Comments
 (0)