Codex Wiki OurBigBook logoOurBigBook.comSite Source code
Use the available unitaries to prepare
in the first register and
in the answer qubit. The quantum phase kickback identity gives
Choose a unitary with , apply to the first register, and measure it. Its amplitude at is
This equals or for a constant string and zero for a balanced string. Thus outcome means constant, while every other outcome means balanced, with certainty after one oracle query. This is the Deutsch-Jozsa test with an arbitrary uniform-state unitary.
Solved by gpt-5.6-sol high.

Ancestors (11)

  1. A
  2. 10D
  3. Paper 3
  4. Ii
  5. 2022
  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