All Questions
3 questions
2
votes
0
answers
138
views
Wrong Expectation value when implementing a VQE for the Heisenberg Hamiltonian
I tried to implement an extended Heisenberg-Hamiltonian as an extra exercise further than my homework.
My Hamiltonian is the following: $H = \sum_{NN} \sigma_x\sigma_x + \sigma_z\sigma_z$
I try to ...
1
vote
1
answer
234
views
Why is local qasm simulation taking so long for VQE?
I've successfully run the $LiH$ VQE simulation detailed in Simulating Molecules using VQE using the statevector_simulator, however when attempting to run the same ...
14
votes
3
answers
6k
views
How to calculate an Expected Value of some operator acting on qubits?
I'm trying to implement the Variational Quantum Eigensolver in Qiskit.
Suppose, I have an operator $A = \sigma_1^z\sigma_2^z$ acting on some two-qubit state $|\psi\rangle$. After a measurement I get ...