You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Every XOR-based function of the form $f(x)=x_j\oplus x_k\oplus\cdots$ that depends on at least one input bit is balanced.
443
+
- Using multi-controlled $X$ gates, together with anti-controls when needed, we can implement an oracle for any Boolean function.
444
+
- The phase kickback multiplies the state by the phase factor $(-1)^{f(x)}$, so the phase changes exactly when $f(x)=1$.
445
+
- If these questions were stored in a Python list called `questions`, then the 8th question would be `questions[7]`.
446
+
- Applying Hadamard gates to $n$ qubits initialized in $|0\rangle$ produces an equal superposition over all $2^n$ computational basis states.
447
+
- In Deutsch–Jozsa for $n>1$, measuring all input qubits as 0 means that $f$ is constant.
448
+
- Bernstein–Vazirani solves the hidden-string problem $f(x)=s\cdot x$ with **1 quantum query**.
449
+
- A multi-controlled $X$ gate with 3 controls can be implemented using scratch qubits and **4 Toffoli gates**.
450
+
- Applying $U_{f_1}$ followed by $U_{f_2}$ yields an oracle whose action on the scratch qubit corresponds to $f_1(x)\oplus f_2(x)$.
451
+
- Uncomputation resets scratch qubits to their initial states by applying the inverse of the computation, which means reversing the order of the steps.
452
+
- Multi-controlled gates with more than one control can be decomposed into simpler gates, but in general this requires more than just $CX$ and $X$; single-qubit gates are also needed.
0 commit comments