Skip to content

Commit f1e195e

Browse files
committed
Update qft_qpe_notebook.ipynb
1 parent 1cb201d commit f1e195e

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

doc/pub/week11/ipynb/qft_qpe_notebook.ipynb

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
{
2929
"cell_type": "markdown",
3030
"id": "389396cc",
31-
"metadata": {},
31+
"metadata": {
32+
"jp-MarkdownHeadingCollapsed": true
33+
},
3234
"source": [
3335
"---\n",
3436
"## 1. Background & Key Equations\n",
@@ -736,7 +738,7 @@
736738
},
737739
{
738740
"cell_type": "code",
739-
"execution_count": 10,
741+
"execution_count": 24,
740742
"id": "a52df5da",
741743
"metadata": {},
742744
"outputs": [
@@ -777,7 +779,7 @@
777779
},
778780
{
779781
"cell_type": "code",
780-
"execution_count": 11,
782+
"execution_count": 25,
781783
"id": "8f5837a0",
782784
"metadata": {},
783785
"outputs": [
@@ -825,7 +827,7 @@
825827
},
826828
{
827829
"cell_type": "code",
828-
"execution_count": 12,
830+
"execution_count": 26,
829831
"id": "197e6528",
830832
"metadata": {},
831833
"outputs": [
@@ -872,7 +874,7 @@
872874
},
873875
{
874876
"cell_type": "code",
875-
"execution_count": 14,
877+
"execution_count": 18,
876878
"id": "e3ea1cbe",
877879
"metadata": {},
878880
"outputs": [
@@ -960,7 +962,7 @@
960962
},
961963
{
962964
"cell_type": "code",
963-
"execution_count": 15,
965+
"execution_count": 19,
964966
"id": "9d843472",
965967
"metadata": {},
966968
"outputs": [
@@ -969,17 +971,17 @@
969971
"output_type": "stream",
970972
"text": [
971973
"==============================================================\n",
972-
" QPE Summary (n_phase=6, t=1.0)\n",
974+
" QPE Summary (n_phase=10, t=1.0)\n",
973975
"==============================================================\n",
974976
" Hamiltonian: H = 1.5·ZI + 0.8·IZ + 0.4·XX + 0.3·YY\n",
975-
" Precision: 2π/2^6 = 0.09817\n",
977+
" Precision: 2π/2^10 = 0.00614\n",
976978
"\n",
977979
" k λ_exact λ_QPE |error| conf\n",
978980
" ──────────────────────────────────────────────\n",
979-
" 0 -2.30217 -2.25802 4.42e-02 0.4886\n",
980-
" 1 -0.98995 -0.98175 8.20e-03 0.9773\n",
981-
" 2 0.98995 0.98175 8.20e-03 0.9773\n",
982-
" 3 2.30217 2.25802 4.42e-02 0.4886\n",
981+
" 0 -2.30217 -2.30097 1.20e-03 0.8800\n",
982+
" 1 -0.98995 -0.98788 2.07e-03 0.6785\n",
983+
" 2 0.98995 0.98788 2.07e-03 0.6785\n",
984+
" 3 2.30217 2.30097 1.20e-03 0.8800\n",
983985
"\n",
984986
" Pauli decomposition of H:\n",
985987
" ZI: +1.500\n",

0 commit comments

Comments
 (0)