The Qiskit textbook shows a circuit for mod 15 multiplication by "a", which for a==2 does the following operations:


But this is equivalent to a circular right-shift by 1 which is division (not multiplication) by 2.
What am I missing?


1 Answer 1


It turns out that this is indeed an issue and has been reported to the qiskit-textbook project on GitHub.

New contributor
antonantal is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.