Skip to content

Commit 224e745

Browse files
committed
Add QSCI hands-on
1 parent 96c0f20 commit 224e745

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doc/source/notebooks/05_05_quantum_selected_configuration_interaction.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,19 +457,19 @@
457457
"$$\n",
458458
"である。\n",
459459
"\n",
460-
"わかりやすさのために、ハミルトニアンを行列の形にする。"
460+
"ハミルトニアンを行列の形にする。"
461461
]
462462
},
463463
{
464464
"cell_type": "code",
465-
"execution_count": 50,
465+
"execution_count": null,
466466
"id": "2ea7cd5c",
467467
"metadata": {},
468468
"outputs": [],
469469
"source": [
470470
"from openfermion.linalg import get_sparse_operator\n",
471-
"jw_hamiltonian_sparse = get_sparse_operator(jw_qubit_hamiltonian)\n",
472-
"jw_hamiltonian_array = jw_hamiltonian_sparse.toarray()"
471+
"jw_hamiltonian_sparse = get_sparse_operator(jw_qubit_hamiltonian) # 実際はここで止めた方が省メモリ\n",
472+
"jw_hamiltonian_array = jw_hamiltonian_sparse.toarray() # dense に変換"
473473
]
474474
},
475475
{

0 commit comments

Comments
 (0)