Skip to content

Commit 1c8a386

Browse files
committed
update
1 parent cc36909 commit 1c8a386

File tree

2 files changed

+464
-74
lines changed

2 files changed

+464
-74
lines changed

doc/src/week5/Programs/.ipynb_checkpoints/single_qubit_vqe_notebook-checkpoint.ipynb

Lines changed: 462 additions & 56 deletions
Large diffs are not rendered by default.

doc/src/week5/Programs/single_qubit_vqe_notebook.ipynb

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
"source": [
188188
"## 2. Hamiltonian Construction and Decomposition\n",
189189
"\n",
190-
"We provide utilities to:\n",
190+
"First we:\n",
191191
"1. Create a general $2 \\times 2$ Hermitian matrix\n",
192192
"2. Decompose it into Pauli components\n",
193193
"3. Reconstruct from Pauli decomposition"
@@ -1538,23 +1538,7 @@
15381538
"execution_count": null,
15391539
"metadata": {},
15401540
"outputs": [],
1541-
"source": [
1542-
"print(\"\\n\" + \"=\"*70)\n",
1543-
"print(\"SINGLE-QUBIT VQE NOTEBOOK COMPLETE\")\n",
1544-
"print(\"=\"*70)\n",
1545-
"print(\"\\nThis notebook demonstrated:\")\n",
1546-
"print(\" ✓ General 2×2 Hermitian Hamiltonian construction\")\n",
1547-
"print(\" ✓ Pauli matrix decomposition and reconstruction\")\n",
1548-
"print(\" ✓ Universal single-qubit gate ansatz (Rz-Ry-Rz)\")\n",
1549-
"print(\" ✓ Quantum measurements of all Pauli operators\")\n",
1550-
"print(\" ✓ VQE optimization with classical algorithms\")\n",
1551-
"print(\" ✓ Bloch sphere visualization and trajectory\")\n",
1552-
"print(\" ✓ Energy landscape exploration\")\n",
1553-
"print(\" ✓ Multiple random initialization robustness\")\n",
1554-
"print(\" ✓ Comprehensive convergence analysis\")\n",
1555-
"print(\"\\nAll using only NumPy and SciPy!\")\n",
1556-
"print(\"=\"*70)"
1557-
]
1541+
"source": []
15581542
}
15591543
],
15601544
"metadata": {

0 commit comments

Comments
 (0)