Yes. Replace the target qubit by a register of qubits and implement the controlled unitary gate
The algebra in c uses only normalization and unitarity, so for an arbitrary pure register quantum state it still gives . For a mixed register quantum state , linearity gives . With ,
Only the control qubit needs to be pure. A uniformly randomized computational basis preparation supplies the target maximally mixed state. This is the principle of trace estimation by a maximally mixed Hadamard test. The extension is algebraic; efficiently implementing controlled- still requires a known suitable gate construction. Moreover, estimating the unnormalized trace to fixed additive precision requires increasingly precise estimation of the normalized signal as grows. There is no automatic efficient reconstruction of all entries of .
For second-qubit inputs and , c gives control expectation values and . Preparing the maximally mixed state is equivalent to choosing these inputs independently with equal probability and discarding the choice. Linearity of the density operator evolution and quantum measurement probabilities therefore gives
Hence
The factor two is essential: the Hadamard test directly estimates the normalized trace. More generally, a target density operator gives . This argument never requires knowledge of the eigenvectors of .
Read the source network as a Hadamard test: a Hadamard gate on the first qubit, a controlled unitary gate with the first qubit as control, and another Hadamard gate on that control. Starting from , the successive quantum states are
Apply b to the last line. Since by unitarity,
For the Pauli Z gate observable on the first qubit, the two eigenvalues are and . Thus
As a check, returns outcome zero certainly, while returns one certainly. The controlled unitary gate makes this relative phase measurable even though multiplying an isolated system's quantum state by is only a global phase.
Expand the possibly unnormalized second-qubit kets as and . The joint quantum state is
The Born rule in the orthonormal computational basis gives , , and similarly for the two outcomes beginning with one. Ignoring the second outcome therefore gives
Equivalently these are the squared norms of and . Orthogonality of the first qubit's basis gives , even if is nonzero. For a nonzero-probability outcome, the conditional second-qubit quantum state is the corresponding ket divided by .
Assume . Let Alice's first recorded quantum measurement outcome be . Immediately afterward she assigns the conditional pure quantum state , with probabilities , . Bob, who has no record, assigns the density operator
This is a nonselective quantum measurement, which removes the initial computational basis coherence. It is not generally the original pure quantum state.
After the Hadamard gate, Alice assigns for , or for . Bob assigns
Both and give either final computational basis outcome with probability . Thus, after Alice records the second outcome , she assigns , whereas Bob assigns
Alice's conditional quantum states are pure; Bob's are averages over her unobserved records. They agree on all probabilities when supplied the same information. Their first descriptions can coincide if the initial quantum state is a computational basis state; after the second quantum measurement, Bob's maximally mixed state differs from each conditional pure quantum state.
In liquid-state NMR quantum computing, use two distinguishable spin- atomic nuclei in one molecule as the two qubits. Their different resonance frequencies permit selective radiofrequency pulses for one-qubit rotations. In a suitable rotating frame, refocusing removes unwanted one-spin terms while the NMR scalar coupling supplies
Assuming , free evolution for implements . Define . Then
This equality follows directly by evaluating the four diagonal entries: the first three are and the entry is . Negative can be handled by refocusing or reversing the effective interaction sign. The global phase can be ignored.
Thus the marked-state phase oracle for requires scalar-coupling evolution and calibrated one-spin rotations. For a marked word , conjugate by , realized as selective pulses. The Grover diffusion operator uses the same entangling operation with additional one-qubit pulses. Liquid-state NMR quantum computing usually reads an ensemble signal and often prepares an effective pseudo-pure deviation from a large mixed background; that reproduces this small quantum algorithm's signal without providing a scalable source of pure initialized qubits.
Let and let be one only at the marked input. A three-qubit implementation of Grover's algorithm starts with , applies a Hadamard gate to each qubit, queries the reversible quantum oracle , applies the Grover diffusion operator to the first two qubits, and measures those two qubits in the computational basis. Here . The full three-wire quantum circuit is the composition
Figure 1.
Three- and two-qubit implementations of Grover's algorithm for four inputs
. Details.
Here . Since , phase kickback gives . The third qubit remains separable and unchanged. A direct marked-state phase oracle therefore replaces the three-qubit query using only two qubits:
For the explicit choice only at , is a Controlled-Z gate. Immediately after it,
The mean of these four probability amplitudes is . The Grover diffusion operator maps each probability amplitude to . The three unmarked probability amplitudes become zero and the marked one becomes one. A single query consequently finds with probability one.
A gate-level implementation of is . Up to an irrelevant global phase, it is . For any other chosen marked word, conjugate the Controlled-Z gate by Pauli X gates on precisely the positions where the marked word has a zero.
The five DiVincenzo criteria are: a scalable collection of well-characterized qubits; preparation in a known fiducial quantum state; relevant coherence times long compared with quantum gate times; a universal quantum gate set; and qubit-specific quantum measurement. The criterion is useful control of the whole computation, including errors, rather than merely observing two resolved levels.[ref]
For trapped ions, the implementation is:
For trapped neutral atoms, the corresponding implementation is:
Thus neither platform is forbidden from meeting a criterion in principle. Weak neutral-ground-state interactions make entangling control harder, but claiming that trapped neutral atoms cannot implement a universal quantum gate set would be false. Gate-model quantum algorithms using Rydberg blockade had already been demonstrated in a programmable neutral-atom processor by 2022.[ref]
Zero-point fields are the irreducible electromagnetic field fluctuations in the vacuum state. Each normal mode has ground energy . Although in the vacuum state, d gives . These are quantum fluctuations, not a classical random coherent field with a known instantaneous value.
Two consequences are the Lamb shift, where coupling to the quantized electromagnetic field changes atomic energy levels, and spontaneous emission, where an excited chemical atom can emit a photon into an initially empty normal mode. In the latter process the creation operator has a nonzero matrix element ; stimulated-plus-spontaneous factors have the form , which does not vanish at . Descriptions splitting spontaneous emission into vacuum fluctuations and radiation reaction depend on operator-ordering conventions; the measurable total rate does not. Zero-point fields do not mean that the vacuum state contains a nonzero mean photon number.
For the normalized coherent state, and . The dimensionless electric field and magnetic field optical quadratures consequently have expectation values
The physical electric field and magnetic field strengths have the corresponding proportionality factors and mode functions. In free evolution replace by to recover the classical oscillation.
Expanding the squared operators cancels the and terms:
On the other hand, . Hence
The difference is the sum of the variances, not an extra mean field. Indeed , independent of . The commutator requires , and the coherent state attains equality. The residual two units are the vacuum fluctuations of the two optical quadratures.
The number operator is . The number state expansion gives by shifting the summation index; taking the adjoint gives . Thus the expectation value is
For the second moment, use :
Its expectation value in the coherent state is . Therefore
The variance equals the mean, exactly as for the Poisson distribution found in b. For the fractional standard deviation is , the usual photon shot noise scaling. For the vacuum state, both the mean photon number and its variance vanish; this does not imply zero optical quadrature fluctuations. At the fractional fluctuation is undefined.
Set and . Their commutator is
It commutes with both operators, so the stated Baker--Campbell--Hausdorff formula terminates:
In particular . Expanding the remaining exponential and using gives the number state expansion
The orthonormality of the number states gives
This is a Poisson distribution with parameter . Its probabilities sum to . The phase of affects the coherent state's relative probability amplitudes but not its photon number probabilities. At the distribution is concentrated at .
For one electromagnetic normal mode, and are the annihilation operator and creation operator, with commutator . Their action on normalized number states is
They remove or add one photon, whose energy is . The vacuum state is normalized and obeys . It has no photons, but retains zero-point energy for the quantum harmonic oscillator Hamiltonian . The coherent state is a displaced vacuum state.
For a symmetric confocal optical resonator, the mirror separation equals either mirror's curvature, , so its symmetric fundamental Gaussian beam has
The same optical mode matching calculation applies, now with . Keeping the example's gives and , compared with for the nonconfocal target. With , the two branches become
Again only the positive- branch fits the stated downstream geometry. The confocal target's smaller Rayleigh range means a smaller fundamental beam waist at the same wavelength and a less stringent minimum .
A confocal optical resonator also has transverse normal mode degeneracies: in the ideal paraxial spectrum, increasing transverse order by two shifts the resonance by one longitudinal spacing. Such a cavity can transmit combinations of higher transverse normal modes at a fundamental resonance, so transmitted power alone is a weaker diagnostic of pure fundamental optical mode matching. The degeneracy does not remove the complex beam parameter matching requirement if the objective is specifically the symmetric fundamental Gaussian beam.
The source optical resonator has Rayleigh range
The symmetric target optical resonator has its fundamental Gaussian beam beam waist halfway between the mirrors. At distance from that beam waist, wavefront curvature is . Thus
Here , so b gives two real branches:
Only the first branch has the target beam waist downstream of the optical lens. It is also geometrically accessible: the optical lens is beyond the source output mirror, and the target input mirror is beyond the optical lens. The total separation between beam waists is .
Propagate from one beam waist to the other, using the optical lens ray transfer matrix:
Optical mode matching requires to transform to . Multiplying the denominator across gives
Equating real and imaginary parts and multiplying by yields
Set . The second equation gives . Substituting this into the first cancels the terms :
Consequently the two algebraic branches are
Equivalently, . The signs in and are the same. Real solutions require ; a converging optical lens therefore needs . At equality . For the stated arrangement, additionally require and that the chosen optical lens position is accessible outside both optical resonators. A negative is an algebraic virtual-waist solution, not a downstream beam waist.
Use the complex beam parameter convention
Here is the wavefront curvature, distinguished from the mirror curvature . In an unfolded propagation coordinate, a concave mirror has the ray transfer matrix : a ray at height changes direction by . The return to the original plane is therefore
The Gaussian beam transformation gives
For , and . The returning Gaussian beam consequently has a beam waist at the same plane, with
This alone does not make it the same Gaussian beam; equal Rayleigh ranges require .
Adding the plane mirror requires a self-consistent optical resonator normal mode, . Since , the fixed-point equation reduces to , giving
For a finite stable Gaussian beam, . The same formula remains valid at , where self-consistency selects . At the geometrical hemispherical limit it predicts ; that marginal boundary has no finite-width stable fundamental Gaussian beam. Thus the source's word “hemispherical” is used for the plano-concave family, including the near-hemispherical case below.
In second-harmonic generation, the quadratic nonlinear polarization contains products of pairs of comb components. Their angular frequencies are
including when . Original comb components have angular frequencies , hence
When the doubled low-frequency region overlaps the original high-frequency region, choosing gives the beat at . More generally the nearest positive beat has angular frequency
which is for the stipulated small offset. For it is , provided the corresponding teeth are in the overlap.
In comb self-referencing, overlap the doubled red part and the original blue part on a photodiode. The beat measures the carrier-envelope offset frequency. Feedback on an intracavity dispersion control or pump setting can set modulo , giving . A phase-sensitive lock or calibrated approach to zero resolves the sign ambiguity of an unsigned beat measurement.[ref]
The coherent optical spectrum must span an octave, , with sufficient overlapping spectral strength after second-harmonic generation. This calls for very short broadband optical pulses, or coherent external spectral broadening. The two branches must preserve optical coherence, overlap in time and polarization, and have adequate phase matching; bandwidth alone does not guarantee a detectable beat.
Put and . At the peak time, , so the exact comb sum becomes
For many occupied normal modes, , replace the sum by an integral with density . Setting and evaluating the Fourier transform of a Gaussian gives
Thus the isolated-optical pulse approximation has
The optical pulse has a Gaussian function envelope and no chirp. Its carrier angular frequency is , and its light intensity full width at half maximum is . Successive envelope maxima have different carrier-envelope phases, consistent with b.
Approximation in the printed assertion. A discrete optical frequency comb gives a train, not one exact isolated Gaussian pulse. Applying the Poisson summation formula to the ideal sum over all integers instead gives
Near , the term dominates when . The other terms are exponentially small but not identically zero. A single Gaussian function used globally would decay between and , whereas the exact light intensity has equal maxima there; this supplies a concrete reason the isolated form cannot be an exact global identity. The extension to negative frequencies is the usual narrow-positive-band analytic-field approximation when .
Use the complex electric field convention and take the locked wave amplitudes to be real and nonnegative after extracting their common phase. Linear superposition gives
The leading factor has unit modulus, so it does not change the light intensity. The triangle inequality bounds the remaining modulus by . Consecutive occupied normal modes attain this bound together at
There is also a peak at . The electric field obeys , although the light intensity is periodic.
The carrier-envelope phase specifies where the carrier oscillation lies relative to the maximum of an optical pulse's envelope. With and , the signed complex-field phase at the envelope maximum is . Consequently,
If instead the real electric field is written , then and the conventionally quoted slip is . These are the same physical shift with opposite phase definitions.
The carrier-envelope phase matters for few-cycle optical pulses, when the largest instantaneous electric field affects strong-field dynamics, for high harmonic generation, and for stabilizing an optical frequency comb. An ordinary cycle-averaged light intensity measurement does not determine it.

There are unlisted articles, also show them or only show them.