You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grover's algorithm does not behave as expected, at least does not take previously known as "Logical Expression" (now PhaseOracle) alphabetically. It runs fine in Aqua but not in Qiskit circuit library.
There should be something wrong in PhaseOracle implementation, please consider LogicalExpression library when you try to solve this to make it alphabetically ordered correctly.
The text was updated successfully, but these errors were encountered:
Informations
What is the current behavior?
Grover's algorithm does not behave as expected, at least does not take previously known as "Logical Expression" (now PhaseOracle) alphabetically. It runs fine in Aqua but not in Qiskit circuit library.
Steps to reproduce the problem
What is the expected behavior?
It shouldn't give 1100 as a suggestion, since we declare C&D as not expression in PhaseOracle.
However it gives:
{'1101': 255, '0011': 260, '1100': 260, '0111': 249}
In Aqua it gives (this is the expected behaviour):
{'0101': 261, '0111': 236, '1011': 262, '1010': 265}
Suggested solutions
There should be something wrong in PhaseOracle implementation, please consider LogicalExpression library when you try to solve this to make it alphabetically ordered correctly.
The text was updated successfully, but these errors were encountered: