Skip to content

Commit 78d2146

Browse files
committed
fix issue #4
1 parent 8e4acaf commit 78d2146

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

variational_quantum_eigensolver.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@
170170
}
171171
],
172172
"source": [
173-
"H = hamiltonian_operator(a, b, c, d)\n",
174173
"exact_result = NumPyEigensolver(H).run()\n",
175174
"reference_energy = min(np.real(exact_result.eigenvalues))\n",
176175
"print('The exact ground state energy is: {}'.format(reference_energy))"
@@ -606,7 +605,7 @@
606605
"name": "python",
607606
"nbconvert_exporter": "python",
608607
"pygments_lexer": "ipython3",
609-
"version": "3.6.10"
608+
"version": "3.6.12"
610609
}
611610
},
612611
"nbformat": 4,

0 commit comments

Comments
 (0)