Apply one Hadamard gate to each of the qubits, with all gates acting in parallel. This quantum circuit implements the tensor product ; it needs single-qubit gates and one layer. For one qubit,
Taking the tensor product of these expressions multiplies the probability amplitudes and adds their exponents, giving
Here the dot product is evaluated using modular arithmetic modulo two.
Figure 1.
The Hadamard transform applies one Hadamard gate to each qubit in a parallel layer
. Details.
In particular, an initially zero quantum register becomes the uniform quantum superposition
This is useful at the start of a quantum algorithm because a subsequent quantum oracle acts on all these components coherently. Later quantum interference can reveal a global property of the function. Measuring immediately would merely produce a uniformly random binary string; the useful resource is the preserved quantum coherence, rather than the ability to read every function value in one run.

Articles by others on the same topic (0)

There are currently no matching articles.