# Grover's algorithm with matrix_product_state method

I implemented Grover algorithm with matrix_product_state method in qiskit. But I found something strange. I designed the oracle part come out $$|1111\rangle$$ but, real output was $$0011\rangle$$. I check out my code, but there is nothing wrong with it. Even simulating with the other simulation method (such as statevector, density_matrix etc.) I got correct output. I really don't understand why only matrix_product_state method's output is strange. My code is below.

• I will open an issue in GitHub on this to investigate further. – merav-aharoni Oct 19 at 6:46