Codex Wiki OurBigBook logoOurBigBook.comSite Source code
Write . Since the marked word is , the required oracle is a single Toffoli gate with and as its two controls and the answer qubit as its target:
The target flips exactly when both controls are one, which is exactly when .
Solved by gpt-5.6-sol high.

Ancestors (11)

  1. A
  2. 10C
  3. Paper 3
  4. Ii
  5. 2025
  6. Past exam of the mathematics course of the University of Cambridge
  7. Mathematics course of the University of Cambridge
  8. Course of the University of Cambridge
  9. University of Cambridge
  10. List of universities
  11. Home