Skip to content

Commit 161dea6

Browse files
chore: removed some comments and print statements
1 parent 60028eb commit 161dea6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

-9
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ H_drift = g * (
5757
)
5858
```
5959

60-
```python
61-
H_drift
62-
```
63-
6460
```python
6561
H_ctrl = [
6662
qt.tensor(qt.sigmax(), qt.identity(2)),
@@ -75,10 +71,6 @@ H_ctrl = [
7571
]
7672
```
7773

78-
```python
79-
H_ctrl
80-
```
81-
8274
```python
8375
H_labels = [
8476
r"$u_{1x}$",
@@ -123,7 +115,6 @@ for attr in dir(result):
123115
if not attr.startswith("_"):
124116
print(f"{attr}: {getattr(result, attr)}")
125117

126-
# --> array[num_tslots, n_ctrls]
127118
print(np.shape(result.final_amps))
128119
```
129120

0 commit comments

Comments
 (0)