The PDF's small superscript is essential: . Interpret as the least positive period, the multiplicative order of modulo . If one permitted an unspecified nonminimal period, the answer would not be identifiable; for example, gives the same constant function with period one or period eight. Under the promised periodic modular-exponential interpretation, , so is a unit. Thus
In particular, different residue classes modulo have different function values, which is necessary for the usual quantum period finding coset argument.
Prepare by applying the quantum Fourier transform to the first register. Use repeated squaring to precompute , then multiply the value register by that known number controlled on bit of . These controlled modular multiplications are reversible because is a unit; their inverses use the modular inverses of the same constants. This produces with a polynomial number of the assumed arithmetic operations. Known work registers can be uncomputed.
Measure the value register. Since , its fiber is exactly one coset, and the first register becomes
The quantum Fourier transform of a periodic coset state is supported uniformly on the outcomes , . Indeed the inner geometric series is zero unless , and each allowed amplitude has modulus .
Take two independent Fourier samples and return
This is two-sample exact period recovery. The Chinese remainder theorem makes divisibility of independent uniform residues independent across the different prime divisors of . For each such prime , both and are divisible by with probability . Therefore
The number-theoretic facts used here are the Chinese remainder theorem, the Euler product for the Riemann zeta function at two, and . The candidate can also be certified by : it divides the least period, so this equality holds exactly when it is the full period. Each preparation, reversible evaluation, QFT, measurement and greatest common divisor calculation has the assumed or standard polynomial time cost in . Two runs suffice for the desired constant success probability. Quantum period finding recovers the least period with probability at least in polynomial time.
Use the quantum Fourier transform convention , where . Reindexing the shifted sum gives
Thus the cyclic shift operator has these eigenvectors, with eigenvalues . This is cyclic shift diagonalization by the quantum Fourier transform, and it implies with .
For , the binary encoding is , with the more significant qubit. The required diagonal phase is
so . The allowed-gate circuit is therefore
In execution order, apply the inverse QFT, then the two phase gates, then the forward QFT. There is no extra global phase. Reversing the Fourier sign convention would conjugate both phase gate parameters.
A good item must exist, so assume ; if , the requested search is impossible, while makes every output good. Put and . Normalize the good and bad components of the uniform superposition state as
The Boolean phase oracle negates and fixes . The Grover diffusion operator is . Its implementation is independent of : conjugate the reflection about by Hadamard gates. One Grover search algorithm iteration is
Hence, by the Grover rotation angle formula,
Choose the nonnegative integer nearest to . Its final angle differs from by at most , so a computational-basis measurement succeeds with probability at least . The allowed small-density regime includes , giving the requested bound. Each iteration uses one Boolean phase oracle query, and .
For , and one iteration reaches exactly. Thus one query gives a good outcome with certainty:
This is exact Grover search on four entries applied to a marked fraction of one quarter, not only to a four-element register.
The amplitude amplification theorem concerns a known preparation quantum circuit and a good-subspace projector . Write , with . Let and . Then
The reflection operators preserve the two-dimensional good-bad plane and rotate it by , so iterations amplify a small known success probability to a constant close to one. Each iteration uses one good-subspace phase test and one use each of , together with a known reflection. Amplitude amplification provides a quadratic improvement in the number of repetitions of a successful preparation. The query cost of the preparation and its inverse must be included when they themselves use the input oracle. Exact amplitude amplification uses additional known-overlap preparation or phase matching to avoid integer-iteration overshoot.
Under the usual reversible-circuit interpretation, there is a genuine obstruction to uniform probability lowering by a unitary in the printed premise. The universal assertion cannot hold for arbitrary : it fails already at the search density .
An explicit counterexample uses , one good basis state , and . The six pure states
all have good probability . Their equally weighted density operator is , a maximally mixed state. Every unitary operator leaves this mixture unchanged, so its average output good probability remains . The printed assertion would instead make all six output probabilities , a contradiction. More generally, averaging states uniformly over good and bad basis vectors and two opposite phases gives , proving the same obstruction at the actual search density .
The intended conditional construction needs only a supplied reversible preparation that lowers the success probability of the particular starting state, not of every state. Here is the complete argument under that weaker resource assumption. Count and as supplied, query-free operations, as required for the claimed input-oracle bound. Let and choose
If equality holds, use the original preparation. Otherwise use the stipulated preparation on to obtain with good probability . Its reflection operator is implementable by
The good and bad components may be nonuniform, but amplitude amplification applies to this same two-dimensional decomposition. After iterations of , its good probability is
Thus the stated exact-query conclusion follows from accessible preparation of one known-overlap state and its inverse. If the supplied preparation uses oracle queries, those costs cannot be omitted.
A physically realizable known-state success dilution for exact amplitude amplification is available in the standard enlarged marking-oracle model. Append a flag in , where , and call a joint state good only when and the flag is one. This prepared state's success probability is exactly . Reflect about this known product preparation and mark the joint good subspace; ordinary iterations then succeed with certainty. A supplied controlled phase oracle gives one marking query per iteration, or a Boolean bit oracle computes , applies the joint phase and uncomputes in two queries. Measuring the data therefore returns a good with certainty in queries. This changes the state space and marking test, and does not assert the impossible universal -qubit circuit. Controlled access is an additional resource in a bare phase-oracle model, so it is made explicit rather than silently assumed.
This is the Deutsch-Jozsa test with an arbitrary uniform-state unitary, and does not require to be a power of two. Choose a known unitary operator such that . Prepare the target qubit in . One Boolean-oracle call gives quantum phase kickback:
Apply to the index register. The amplitude on is
It equals or for the two constant strings, and equals zero for a balanced string. Consequently a single query decides the promised problem exactly: measure the index register and report constant for outcome zero, balanced for any other outcome. This is the Deutsch-Jozsa algorithm with the available exact state-preparation operation.
Let denote the specified image of . Its components comprise distinct ordered-pair basis states, each with coefficient , together with with coefficient . Hence .
For distinct indices , only two output basis states occur in both images. Their common contributions have product , while the contributions have product . Thus
The specified map is therefore a linear isometry on the -dimensional input subspace. Complete the input vectors to an orthonormal basis of the -dimensional space, and independently complete their images to another orthonormal basis. Map the first full basis to the second. This is a unitary extension of a finite-dimensional isometry, giving the required . The prescribed columns are orthonormal, so a full unitary extension exists. Its construction depends only on , not on the unknown string, and is permitted by the question's exact-unitary assumption.
Let be the number of ones. The displayed output state assigns the outcome probability
For a constant string, or , so this probability is one. For a balanced string, , so it is zero. Under the promise, certifies a constant string, and any other possible outcome certifies a balanced string. A nonzero ordered-pair outcome must have and , which also certifies without separately reading either bit. This is the fact used by opposite-pair elimination for exact quantum balance testing.
Maintain a known list of the still-active indices, initially all positions. On a list of even size , perform the three-step construction with replacing . A known reversible relabeling prepares and queries the corresponding original indices, so quantum phase kickback still needs only one call to . The full unitary extension for that current size is independent of the remaining unknown values. It is allowed even when is not a power of two.
If the measurement gives , its amplitude is the imbalance divided by . A balanced active string has zero such amplitude, so an observed zero pair certifies that the active string is unbalanced. Return unbalanced immediately. No probability-of-error estimate is needed: an impossible outcome never occurs in the balanced case.
Otherwise the measured pair corresponds to two opposite bits. Delete those two indices and repeat. Each deletion removes exactly one zero and one one, preserving the difference between their counts. Thus the active string is balanced if and only if the original one is balanced. If all indices are removed, return balanced. This is opposite-pair elimination for exact quantum balance testing; it never requires determining which member of a deleted pair is zero.
Each query either terminates with a valid imbalance certificate or reduces the active length by two. After at most opposite-pair outcomes the active list is empty. The result is certain on every input, with worst-case query count
The same argument includes the last step: equal bits give with certainty, while opposite bits give the sole nonzero pair with certainty. There is no additional final query. The measurement probabilities are normalized because .
For , the Pauli X gate and Pauli Z gate act on different qubits in , so they commute. Their product is a Hermitian matrix and squares to the identity operator. Its eigenvalues have modulus one; equivalently it is a unitary operator. Therefore its spectral norm is
The qualification is necessary because the qubit labelled one does not exist for .
The printed upper summation limit introduces although only qubits were defined. Literally the final term is undefined. Use the natural open-chain repair
This preserves the stated -qubit system and agrees with the supplied sum-of-squares hint. If a cyclic convention was intended instead, it must be stated; the same argument works for its terms when . For , the repaired open chain is empty and the target is the identity.
Here is a product-formula Hamiltonian simulation using exactly the two supplied lemmas. Let and choose an integer . Every is a norm-one Hermitian matrix. One time slice is the product of two-qubit gates
To compare a partial product with , first propagate the previous error through the next unitary gate, which preserves the spectral norm, and then use Lemma A with , . Both norms are at most . Its new error is at most for a universal constant . For an explicit choice, follows from the unitary Taylor bounds and . Induction and the triangle inequality therefore give
Lemma B, the unitary product telescoping bound, now compares the repeated slices with :
Take, for example, . If the sum is zero the product is already exact; otherwise its error is at most . There are two-qubit gates. This explicit lemma-based construction has fourth-degree dependence on for fixed precision:
This is a sufficient polynomial, not an optimality claim. The polynomial-degree statement treats as fixed; the inverse-precision dependence is displayed separately. No first-order term error is accumulated without the required repeated-slice factor.
For a unitary operator , . Thus for every nonnegative integer ,
Insert this into the convergent matrix exponential series in the finite-dimensional qubit setting:
Consequently unitary conjugation commutes with the exponential:
For an unbounded self-adjoint Hamiltonian, the same identity follows from the spectral theorem for normal operators, with the domain transported by ; no unbounded power-series manipulation is needed.
Use one target ancilla qubit initially in . Apply a CNOT gate from each data qubit to that same target, for . Each CNOT gate adds its control bit modulo two without changing the control. After all gates the target contains the parity bit . Thus the required circuit is the -gate parity fan-in:
This is parity computation by CNOT gates. The circuit also satisfies for either target value, and because all these shared-target CNOT gates commute and individually square to the identity. The action on general superpositions follows by linearity.
The product of the data Pauli Z gates has computational-basis eigenvalue
Use the parity circuit from part (ii), apply the target unitary gate , and then uncompute the parity with . For every basis input,
This equals on the data, with the ancilla qubit returned to zero. The compute-phase-uncompute construction therefore gives an exact linear-size circuit:
This is a Pauli-string phase by parity computation, an instance of simulation of a computable diagonal Hamiltonian. Part (i) also explains it by , whose exponential restricts correctly to the target- subspace. If no extra line is desired, accumulate parity into the last data qubit, apply there, and undo the CNOT gates, for gates. Both constructions implement the global phase as well as the relative phases exactly.

Articles by others on the same topic (0)

There are currently no matching articles.