Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78d2146

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /