-
Notifications
You must be signed in to change notification settings - Fork 377
Conversation
Works, but currently does not lead to speedup (see issue qiskit-community#695 )
Hi @henrik-dreyer, Thanks for this PR. This is an interesting proposal and I agree that it should be supported as an ansatz preparation method in Aqua, or as a start to a broader set of tensor network methods. A few questions:
If you like, we (some Aqua folks) would be happy to help you think through some designs for the above. |
Hi @dongreenberg , that makes a lot of sense. If I understand your first point correctly, you're suggesting the following:
I think all of this can be done, let me take a look into it.
I'd be very happy to use this as a starting point for developing a broader tensor network library. |
Are you aware that there already is an implementation of MPS in Aer? It is implemented as a simulation method for the qasm simulator. You can see details in the code or in the tutorial https://github.com/Qiskit/qiskit-iqx-tutorials/blob/master/qiskit/advanced/aer/7_matrix_product_state_method.ipynb. |
the purpose of the method I propose here is not to use MPS on a classical computer to simulate the unitary evolution, but rather prepare the MPS on the quantum computer, much like finding the Hartree Fock state and preparing the Hartree Fock state are two different things. |
Hi Henrik, what is your current thinking with this PR? Donny gave some comments above I would echo the sentiment of having this usable in Aqua as an object in the form of an InitialState that can be supplied to var forms etc. |
can this MPS simulator in AER be used with aqua VQE solver? I tried it, found the results are not very good, sometimes even worse than the Hartree-Fock solution. |
Hi @ares201005 , indeed the Aer MPS method can work seemlessly with VQE. @yaelbh has experimental results on a large set of molecules and at least for RyRz variational forms the simulation method is faster than statevector, and covers much larger molecules (the functional results are identical in both simulation methods). It may be though that a more recent version of Aer is needed. @yaelbh will comment further on this, and will also publish her results soon |
@yehuda-naveh thank you very much for the comments. I also expect the MPS simulator is faster and can converge to the same results as the statevector. |
Latest qiskit ( |
Actually after installing |
No further action is needed. |
I installed the source code, it does have MPS working. But I just cannot get the same result. May I have your email address to share the code with you? Thanks |
Sure, I've updated my profile |
Closing as all work on Aqua is moved elsewhere with the code being moved to Terra and domain specific repos. Chemistry is moved to qiskit-nature. |
Summary
Computes the circuit to prepare a given Matrix Product State.
Details and comments