Skip to content

Commit 451094d

Browse files
committed
#171 Reduded Hamiltonian and Energy Testing
1 parent 924f56e commit 451094d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/molkit.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
},
110110
{
111111
"cell_type": "code",
112-
"execution_count": 3,
112+
"execution_count": 4,
113113
"metadata": {},
114114
"outputs": [
115115
{
@@ -164,7 +164,6 @@
164164
"\n",
165165
"H = toy.to_reduced(n_elec=N_ELEC) # H = h↑ + 0.5 * V\n",
166166
"E_spin = np.einsum('pqrs,pqrs', H, rdm2)\n",
167-
"\n",
168167
"H_gem = toy.to_geminal(H, type='h2')\n",
169168
"rdm_gem = toy.to_geminal(rdm2, type='rdm2')\n",
170169
"E_gem = np.einsum('pq,pq', H_gem, rdm_gem)\n",

0 commit comments

Comments
 (0)