Difference between revisions of "Single photons"
imported>Ichuang |
imported>Ichuang |
||
Line 436: | Line 436: | ||
of these is known as the Deutsch-Jozsa algorithm, which solves the | of these is known as the Deutsch-Jozsa algorithm, which solves the | ||
following problem. | following problem. | ||
+ | |||
Suppose you are given the following box, which accepts two inputs <math>x</math> | Suppose you are given the following box, which accepts two inputs <math>x</math> | ||
and <math>y</math>, and produces two outputs, <math>x</math> and <math>y\oplus f(x)</math>, where | and <math>y</math>, and produces two outputs, <math>x</math> and <math>y\oplus f(x)</math>, where | ||
<math>\oplus</math> denotes addition modulo two: | <math>\oplus</math> denotes addition modulo two: | ||
::[[Image:chapter2-quantum-light-part-3-djfun.png|thumb|200px|none|]] | ::[[Image:chapter2-quantum-light-part-3-djfun.png|thumb|200px|none|]] | ||
− | + | ||
Each signal is a single bit, and the box is promised to implement one | Each signal is a single bit, and the box is promised to implement one | ||
of four functions, computing either <math>f_0</math>, <math>f_1</math>, <math>f_2</math>, or <math>f_3</math>: | of four functions, computing either <math>f_0</math>, <math>f_1</math>, <math>f_2</math>, or <math>f_3</math>: | ||
Line 460: | Line 461: | ||
odd functions. How many queries to the box must you perform to | odd functions. How many queries to the box must you perform to | ||
determine whether it is implementing an even or odd function? | determine whether it is implementing an even or odd function? | ||
+ | |||
If <math>0</math> and <math>1</math> are the only two values you can input for <math>x</math> and <math>y</math>, | If <math>0</math> and <math>1</math> are the only two values you can input for <math>x</math> and <math>y</math>, | ||
then at least two queries to the box are needed to answer this | then at least two queries to the box are needed to answer this | ||
Line 491: | Line 493: | ||
odd is given by <math>f(0)\oplus f(1)</math>, and this expression clearly needs | odd is given by <math>f(0)\oplus f(1)</math>, and this expression clearly needs | ||
two evaluations of <math>f</math> to be computed, in general. | two evaluations of <math>f</math> to be computed, in general. | ||
+ | |||
If quantum superpositions are allowed as inputs, but the outputs are | If quantum superpositions are allowed as inputs, but the outputs are | ||
simply measured in the usual "computational" basis, then the problem | simply measured in the usual "computational" basis, then the problem | ||
still takes two queries to be solved. | still takes two queries to be solved. | ||
+ | |||
However, if quantum superpositions are allowed as inputs, and outputs | However, if quantum superpositions are allowed as inputs, and outputs | ||
can also be intefered, then only one query is needed. This is | can also be intefered, then only one query is needed. This is | ||
Line 504: | Line 508: | ||
what is inside the <math>U_f</math> box for the four possible functions. These | what is inside the <math>U_f</math> box for the four possible functions. These | ||
are | are | ||
− | + | {| border=1 | |
− | + | |[[Image:chapter2-quantum-light-part-3-djinside-f0.png|thumb|200px|none|]] | |
− | + | |[[Image:chapter2-quantum-light-part-3-djinside-f2.png|thumb|200px|none|]] | |
− | + | |- | |
+ | |[[Image:chapter2-quantum-light-part-3-djinside-f1.png|thumb|200px|none|]] | ||
+ | |[[Image:chapter2-quantum-light-part-3-djinside-f3.png|thumb|200px|none|]] | ||
+ | |} | ||
Note how <math>f_0</math> is trivial, since <math>f_0(x)\oplus y = y</math>; also | Note how <math>f_0</math> is trivial, since <math>f_0(x)\oplus y = y</math>; also | ||
straighforward is <math>f_2(x)\oplus y = 1\oplus y</math>, since this is just an | straighforward is <math>f_2(x)\oplus y = 1\oplus y</math>, since this is just an | ||
Line 517: | Line 524: | ||
swapped if mode <math>c</math> has a photon, or left alone if mode <math>c</math> has no | swapped if mode <math>c</math> has a photon, or left alone if mode <math>c</math> has no | ||
photon. | photon. | ||
+ | |||
Inserting these into the algorithm, we find that if the input state is | Inserting these into the algorithm, we find that if the input state is | ||
<math>|1010{\rangle}</math> (designating modes as <math>|dcba{\rangle}</math>), the outputs are | <math>|1010{\rangle}</math> (designating modes as <math>|dcba{\rangle}</math>), the outputs are | ||
Line 541: | Line 549: | ||
When the function is <math>f_0</math> or <math>f_2</math>, the <math>ba</math> modes completely | When the function is <math>f_0</math> or <math>f_2</math>, the <math>ba</math> modes completely | ||
decouple from the <math>cd</math> modes, so the output is trivially obtained. | decouple from the <math>cd</math> modes, so the output is trivially obtained. | ||
+ | |||
Thus, for those two cases, modes <math>dc</math> end up in <math>|10{\rangle}</math>, so a photon | Thus, for those two cases, modes <math>dc</math> end up in <math>|10{\rangle}</math>, so a photon | ||
is found in mode <math>d</math>. When the function is <math>f_1</math>, then the two | is found in mode <math>d</math>. When the function is <math>f_1</math>, then the two |
Revision as of 02:36, 13 February 2009
A single photon, mathematically represented by the number eigenstate Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |1{\rangle}} , physically describes the electromagnetic field corresponding to the lowest nonzero energy eigenstate of a single mode cavity. is the vacuuum state. A great deal of physics can be understood by considering what happens to just the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |1{\rangle}} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |0{\rangle}} states, through a variety of optical components. This section uses such an approach to explore three of the most basic components -- two linear components: phase shifters, beam splitters, and one nonlinear component: Kerr cross-phase modulation. These are the building blocks of linear and non-linear interferometers; their physical behavior provides helpful intuition for quantum behavior.
Contents
Beamsplitters and phase shifters
The number state Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |1{\rangle}} evolves through propagation in free space to become Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^{i\omega t}|1{\rangle}} after time Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t} . In a medium with a different index of refraction, however, light propagates at a different velocity, giving, for example, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^{i\omega' t}|1{\rangle}} . Such a phase difference is only physically meaningful, however, when compared with a reference. Let us therefore introduce a pair of modes, each with either or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1} photons, depicted as two lines, and using a box to indicate a segment through which one mode propagates at a different velocity. For example:
depicts two modes, in which the top photon has its phase shifted by Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \pi} relative to the bottom one. It is clear that any relative phase shift can be imparted between the two modes, by an appropriate experimental setup; experimentally, this can be accomplished with different thicknesses of glass, or by lengthening one path versus the other.
Two modes of light can be mixed by a beamsplitter (as we have previously seen). A beamsplitter Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B} acts with Hamiltonian
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle {H}_{bs} = i\theta \left( {a b^\dagger - a^\dagger b} \right) \,, }
on the two modes, with corresponding operators Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} . Transformation of light through this beamsplitter is given by Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^{iH\theta}} , where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \theta} is the angle of the beamsplitter, giving the unitary operation
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B = \exp \left[ {\theta \left( { a^\dagger b - a b^\dagger } \right) } \right] \,. }
We may depict this as:
Note the use of a to distinguish the ports; this is needed because we have adopted a phase convention for the beamsplitter which obviates the need to keep track of an extra factor of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i} . In the Heisenberg picture, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B} transforms Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and as
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Ba {B}^\dagger = a \cos\theta + b \sin\theta ~~~~~{\rm and}~~~~~ Bb {B}^\dagger = - a \sin\theta + b \cos\theta \,. }
This can be verified using the the Baker--Campbell--Hausdorf formula,
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^{\lambda G}A e^{-\lambda G} = \sum_{n=0}^{\infty} \frac{\lambda^n}{n!} C_n \,, }
where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \lambda} is a complex number, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A} , , and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_n} are operators, and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_n} is defined recursively as the sequence of commutators Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_0 = A} , , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_2 = [G,C_1]} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_3 = [G,C_2]} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \ldots} , .
Since it follows from Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle [a, a^\dagger ]=1} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle [b, b^\dagger ]=1} that and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle [G,b] = -a} , for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle G \equiv a b^\dagger - a^\dagger b} , we obtain for the expansion of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B a {B}^\dagger } the series coefficients , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_1 = [G,a] = b} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_2 = [G,C_1] = -a} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_3 = [G,C_2] = -[G,C_0] = -b} , which in general are
From this, our desired result follows straightforwardly:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} Ba {B}^\dagger &=& e^{\theta G } a e^{-\theta G} \\ &=& \sum_{n=0}^{\infty} \frac{\theta^n}{n!} C_n \\ &=& \sum_{n\ \rm even} \frac{(i\theta)^n}{n!} a - i \sum_{n\ \rm odd} \frac{(i\theta)^n}{n!} b \\ &=& a\cos\theta + b \sin\theta \,. \end{array}}
The transform Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Bb {B}^\dagger } is trivially found by swapping Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and in the above solution.
Beamsplitters with single photon inputs
How does act on a single photon input? On input , letting the modes be on the right, and on the left, we get
Similarly, . This indicates that corresponds to a beamsplitter. Note that does not destroy any photons; it can only move them between the two modes. Mathamatically, this arises from the fact that it commutes with the total photon number operator, .
If both input modes contain photons, the output state does not have as simple a form as above. In particular, we find that
so it is possible for the output to be found to have both photons in one mode. Since we'd like to avoid such cases in this section, let us restrict our attention here to the case when inputs to beampsplitters have a total of one photon at most.
Dual-rail photon states and two-level systems
Omitting the vacuum state , the two-mode state space we shall consider thus has a basis state spanned by , and . We call this the dual-rail photon state space (this Hilbert space behaves much like a a two-level system). Note that an arbitrary state in this space as , where and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \beta} are complex numbers satisfying Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |\alpha|^2 +|\beta|^2 = 1} .
From Bloch's Theorem, it follows that any dual-rail photon state can be generated using phase shifters and beamsplitters. Specifically, if we write as a two-component vector, then the action of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B} is
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B(\theta) \left[ \begin{array}{c}{\alpha}\\{\beta}\end{array}\right] = \left[ \begin{array}{cc}{\cos\theta}&{-\sin\theta}\\{\sin\theta}&{\cos\theta}\end{array}\right] \left[ \begin{array}{c}{\alpha}\\{\beta}\end{array}\right] \,. }
Similarly, the action of a phase shifter of phase Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \phi} is
where the overall phase Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^{i\theta/2}} is irrelevant and can be dropped in the following. Let us define the Pauli matrices as
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} X & = & \left[ \begin{array}{cc}{0}&{1}\\{1}&{0}\end{array}\right] \\ Y & = & \left[ \begin{array}{cc}{0}&{-i}\\{i}&{0}\end{array}\right] \\ Z & = & \left[ \begin{array}{cc}{1}&{0}\\{0}&{-1}\end{array}\right] \,. \end{array}}
In terms of these, we find that the phase shifter and beamsplitter operators may be expressed as
These are rotations of a two-level system, about the axes Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hat{y}} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hat{z}} , by angles and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \phi} , respectively. The standard rotation operator definitions are
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} R_x(\theta) & \equiv & e^{-i\theta X/2} = \cos \frac{\theta}{2} I - i \sin \frac{\theta}{2} X = \left[ \begin{array}{cc} \cos \frac{\theta}{2} & -i \sin \frac{\theta}{2} \\ -i \sin\frac{\theta}{2} & \cos\frac{\theta}{2} \end{array} \right] \\ R_y(\theta) & \equiv & e^{-i \theta Y /2} = \cos \frac{\theta}{2}I - i \sin \frac{\theta}{2} Y = \left[ \begin{array}{cc} \cos \frac{\theta}{2} & -\sin \frac{\theta}{2} \\ \sin\frac{\theta}{2} & \cos\frac{\theta}{2} \end{array} \right] \\ R_z(\theta) & \equiv & e^{-i \theta Z/2} = \cos \frac{\theta}{2} I -i \sin \frac{\theta}{2} Z = \left[ \begin{array}{cc} e^{-i\theta/2} & 0 \\ 0 & e^{i\theta/2} \end{array} \right] \,. \end{array}}
Bloch's Theorem
In terms of these, Bloch's Theorem states the following:
Theorem: (-Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Y}
decomposition of rotations)
Suppose Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U} is a unitary operation on a two-dimensional Hilbert space. Then there exist real numbers and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \delta} such that |
Proof:~ Since Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U} is unitary, the rows and columns of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U} are orthonormal, from which it follows that there exist real numbers ,and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \delta} such that
Equation (\ref{eqtn:alg:qubit_decomp}) now follows immediately from the definition of the rotation matrices and matrix multiplication.
What we have just done, expressed in modern language, is to introduce an optical quantum bit, a "qubit," and showed that arbitrary single qubit operations ("gates") can be performed using phase-shifters and beamsplitters.
For example, one widely useful single-qubit transform is the Hadamard gate,
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} H = \frac{1}{\sqrt{2}} \left[ \begin{array}{cc}{1}&{1}\\{1}&{-1}\end{array}\right] \,. \end{array}}
This operation can be performed by doing:
where the beamsplitter has Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \theta=\pi/4} . From inspection, it is easy to verify that it transforms and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |10 \rangle \rightarrow (|01{\rangle}-|10 \rangle )/\sqrt{2}} up to an overall phase, as desired. Up to a phase shift, a Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 50/50} beamsplitter can thus be thought of as being a Hadamarad gate, and vice-versa.
Mach-Zehnder interferometer
The reason we have introduced the dual-rail photon representation of a qubit is because this will allow us to clarify the universality of certain quantum optical ideas, namely interference and interferometers, which will be ubiquitous through our treatment of atoms and quantum information.
Let us begin by developing a model for the Mach-Zehnder interferometer, which is constructed from two beamsplitters. Recall that two beamsplitters and , configured as
naturally leave the output identical to the input, as . If a phase shifter is placed inbetween two beamsplitters,
then the input is transformed by
It is convenient to visualize this sequence of three rotations on the Bloch sphere:
The first rotates Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hat{z}} into Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hat{x}} , and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -\hat{x}} into Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hat{z}} . The system is then rotated around by angle Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \phi} . Then the last Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_y(\pi/2)} rotates Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hat{z}} back to . The overall sequence is thus a rotation by Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \phi} about Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -\hat{x}} :
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} {B}^\dagger (\pi/4) P(\phi) B(\pi/4) &= & R_x(-\phi) \,. \end{array}}
If the input is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |01{\rangle}} , then the output will thus be , so the photon is found in mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} with probability Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos^2(\phi/2)} , and in mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} with probability Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin^2(\phi/2)} . This is exactly what a classical interferometer should do. Two important limits are that when (the interferometer is "balanced"), the input is unchanged, and when Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \phi=\pi} , the two modes are swapped.
Nonlinear Mach-Zehnder interferometer
The two components we have studied so far, phase shifters and beamsplitters, are linear optics elements. Such elements have an electric polarization which is linear with the applied electric field, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{P} = \epsilon_0 \chi \vec{E}} . Nonlinear optical elements, have Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{P} = \epsilon_0 (\chi^{(1)} \vec{E} + \chi^{(2)} \vec{E}^2 + \chi^{(3)} \vec{E}^3 + \cdots)} . Previously, we have seen that an optical parametric oscillator (with ) can be used for creating quantum states such as squeezed light. What do nonlinear optical elements do to single photons?
Optical Kerr media
Consider a material with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \chi\sim \chi^{(3)}\neq 0} , which we may model as having the Hamiltonian
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle H_{xpm} = -\chi a^\dagger a b^\dagger b \,, }
where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} describe two modes propagating through the medium. For a crystal of length we obtain the unitary transform
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle K = e^{i \chi L a^\dagger a b^\dagger b} \,. }
Here, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \chi} parametrizes the third order nonlinear susceptibility coefficient. We will refer to Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle H_{xpm}} as the Kerr cross-phase modulation Hamiltonian, and the nonlinear crystal as being a Kerr medium.
Interferometer with Kerr medium inside
Interesting non-classical behavior can be obtained using interferometers constructed with Kerr media used as nonlinear phase shifters. For single photon states, we find that
Let us take Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \chi L = \pi} , such that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle K|11 \rangle = -|11{\rangle}} . Suppose we now place the Kerr medium inside a Mach-Zehnder interferometer in this manner:
\noindent Intuitively, we expect that when no photons are input into Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} , then the Mach-Zehnder interferometer is balanced, leading to Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a'=a} and . But when a photon is input into Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} , if the cross-phase modulation due to Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle K} is sufficiently large (Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sim \pi} ), then the inputs are swapprd, producing and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b'=a} .
Mathematically, we may write the transform performed by this nonlinear Mach-Zehnder interferometer as the unitary transform Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U = {B}^\dagger K B} , where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B} is a 50/50 beamsplitter, is the Kerr cross phase modulation operator , and is the product of the coupling constant and the interaction distance. The transform simplifies to give
The first and third exponentials are constant phase shifts, and the last two phase shifts come from cross phase modulation. All those effects are not fundamental, and can be compensated for. The interesting term is the second exponential, which we define as
For , when no photons are input at Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} , then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a' = a} and , but when a single photon is input at Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} , then and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b' = a} , as we expected. We may also interpret as being like a controlled-beamsplitter operator, where the rotation angle is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \xi {c}^\dagger c } .
Squeezing with nonlinear interferometer
How does this nonlinear interferometer produce non-classical behavior? Well, one thing it can be used for is to create a state very much like two-mode squeezed light, as we now show in the limit of single photons. Consider this setup, with two dual-rail qubits, and one Kerr medium:
\noindent This has two Mach-Zehnder interferometers coupled with a Kerr medium, which we shall take to have Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \chi L = \pi} . If the input state is , using mode labeling Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |dcba{\rangle}} , then the state after the first two 50/50 beamsplitters is
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} |\phi_1 \rangle &=& (|01{\rangle}+|10 \rangle )(|01{\rangle}+|10 \rangle ) \\ &=& |0101 \rangle + |0110 \rangle +|1001 \rangle + |1010{\rangle} \,, \end{array}}
up to a normalization factor which we shall suppress for clarity. The Kerr medium takes and leaves all other basis states unchanged. Thus,
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} |\phi_2 \rangle &=& |0101 \rangle - |0110 \rangle +|1001 \rangle + |1010{\rangle} \,. \end{array}}
Finally, the output state, given by applying Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle {B}^\dagger } to modes and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} , is
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} |\phi_3 \rangle &=& \frac{|1001 \rangle -|0110{\rangle}}{\sqrt{2}} \,. \end{array}}
Compare this with the two-mode infinitely squeezed state which we used in the discussion of teleportation. This state has exactly the same feature that when mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} has a single photon, mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d} does also, and vice versa. The same is true also for modes and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} . This state has an extra spatial correlation that the two-mode infinitely squeezed state did not. But is is not hard to imagine that they have similar properties. In the section on Entangled Photons we show that both are entangled quantum states, which have correlations beyond what is possible with classical states.
Deutsch-Jozsa algorithm
Nonlinear Mach-Zender interferometers are also useful for implementing and understanding simple quantum algorithms. One of the most elementary of these is known as the Deutsch-Jozsa algorithm, which solves the following problem.
Suppose you are given the following box, which accepts two inputs Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} and , and produces two outputs, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y\oplus f(x)} , where denotes addition modulo two:
Each signal is a single bit, and the box is promised to implement one of four functions, computing either Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_0} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_1} , , or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_3} :
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_0(x)} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_1(x)} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_3(x)} 0 0 0 1 1 1 0 1 1 0
Call and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_2} the even functions, and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_1} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_3} the odd functions. How many queries to the box must you perform to determine whether it is implementing an even or odd function?
If Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0} and are the only two values you can input for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} , then at least two queries to the box are needed to answer this question. This can be seen by direct examination of the full input-output table:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_1(x)\oplus y} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_2(x)\oplus y} 0 0 0 0 1 1 0 1 0 1 1 0 1 0 1 1 0 0 1 1 1 0 0 1
and by observing that (1) changing Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} gives no additional information about whether Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U_f} implements an even or odd function, and (2) for any single input value of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} , there are both even and odd functions which give the same output. Indeed, whether the function is even or odd is given by , and this expression clearly needs two evaluations of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} to be computed, in general.
If quantum superpositions are allowed as inputs, but the outputs are simply measured in the usual "computational" basis, then the problem still takes two queries to be solved.
However, if quantum superpositions are allowed as inputs, and outputs can also be intefered, then only one query is needed. This is done using the following procedure. Let us use dual-rail photon qubits, and choose Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |01{\rangle}} to represent Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0} , and to represent Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1} . The optical setup implementing the quantum algorithm to solve the Deutsch-Jozsa problem is:
The key to understanding how this works is to explicitly write down what is inside the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle U_f} box for the four possible functions. These are
Note how Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_0} is trivial, since ; also straighforward is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_2(x)\oplus y = 1\oplus y} , since this is just an inversion of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} , that is accomplished by swapping modes Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and . The two odd functions involve an interaction between modes Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle ba} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle dc} , because Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_1(x)\oplus y = x\oplus y} , and . These two are implemented with nonlinear Mach-Zehnder interferometers, which cause modes Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} to be swapped if mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} has a photon, or left alone if mode has no photon.
Inserting these into the algorithm, we find that if the input state is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |1010{\rangle}} (designating modes as Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |dcba{\rangle}} ), the outputs are
function output state Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_0} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |10 \rangle ( |01{\rangle}+|10 \rangle ) } Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |01 \rangle ( |01 \rangle + |10{\rangle}} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_2} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |10 \rangle ( |10{\rangle}-|01 \rangle ) } Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |01 \rangle ( |10 \rangle - |01{\rangle}}
When the function is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_0} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f_2} , the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle ba} modes completely decouple from the modes, so the output is trivially obtained.
Thus, for those two cases, modes Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle dc} end up in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |10{\rangle}} , so a photon is found in mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d} . When the function is , then the two initial beamsplitters on Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle ba} cancel, leaving a photon in mode . This photon then causes the nonlinear Mach-Zehnder interferometer in modes to flip the photons between those modes. A similar thing happens for function , leaving modes in state , so a photon is found in mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} . The measurement of whether a photon ends up in mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} or in mode Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d} thus determines whether the function is even or odd.
The main insight given by this example, which generalizes to more complex quantum algorithms, is that phases and interference are central to their operation. Another important insight is that quantum algorithms are somewhat of like a kind of spectroscopy: just as the standard Mach-Zehnder interferometer may be used to measure the index of refraction of an unknown crystal, nonlinear, coupled Mach-Zehnder interferometers can be used to measure periods of certain functions. Indeed, it is through period measurement that Shor's quantum factoring algorithm works.
Another important insight gained by this example is that quantum algorithms are likely complex and difficult to implement, if they require a multitude of coupled interferometers. This is because well balanced, stable interferometers are experimentally challenging to realize. Nonlinear optical Kerr media that have no loss, and can impart a cross phase modulation between single photons, are also rather exotic.
Finally, it is worthwhile considering exactly what we used which was quantum-mechanical in implementing the Deutsch-Jozsa algorithm. Would this implementation have worked with coherent states, instead of single photons?