Adding “Bad” State Oracles to Grover’s Algorithm in Qiskit
I am working on a Grover’s algorithm in Qiskit with two oracles. Each oracle marks a different state as “good”. I want to add a few more oracles to mark specific states as “bad”, in order to decrease their probability relative to other states. Could someone advise on how to write such oracles..? Thank you
Qiskit | ImportError: cannot import name ‘Aer’ from ‘qiskit”, I’ve tried a lot of attemps to fix this issue and nothing changes
I wanted to run the following part code in jupyter lab: