Talk:Deutsch–Jozsa algorithm: Difference between revisions

Content deleted Content added
Cnotgate (talk | contribs)
Cnotgate (talk | contribs)
Line 64:
 
For example we have state on input: <math>|0, 0, 1,1,0, 1\rang</math>. Last qubit is answer qubits. So on output we will have: <math>|0, 0, 1,1,0, 1\oplus 0\oplus 0\oplus 1\oplus 1\oplus 0\rang=|0, 0, 1,1,0, 1\rang</math>. Last qubit don't change value, and is 1, so function is balanced.
Becouse i don't know what gate is used or toffoli gate or Controlled-U gate?