We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60028eb commit 161dea6Copy full SHA for 161dea6
tutorials-v5/optimal-control/control-grape-cnot.md
@@ -57,10 +57,6 @@ H_drift = g * (
57
)
58
```
59
60
-```python
61
-H_drift
62
-```
63
-
64
```python
65
H_ctrl = [
66
qt.tensor(qt.sigmax(), qt.identity(2)),
@@ -75,10 +71,6 @@ H_ctrl = [
75
71
]
76
72
77
73
78
79
-H_ctrl
80
81
82
74
83
H_labels = [
84
r"$u_{1x}$",
@@ -123,7 +115,6 @@ for attr in dir(result):
123
115
if not attr.startswith("_"):
124
116
print(f"{attr}: {getattr(result, attr)}")
125
117
126
-# --> array[num_tslots, n_ctrls]
127
118
print(np.shape(result.final_amps))
128
119
129
120
0 commit comments