One classical query at any chosen returns only . Every possible slope is compatible with that answer by choosing , so no one-query classical algorithm can determine with certainty.
For the quantum algorithm, let and prepare
Part (b) shows that the single query applies quantum phase kickback:
The unknown intercept contributes only a global phase. Applying to the first register produces , whose computational-basis measurement determines with certainty after one query.
This circuit is the swap test. If the two pure states are identical up to a physically irrelevant global phase, then and outcome one never occurs. If they are distinct, then and each run produces outcome one with positive probability .
Run the circuit independently on fresh copies. Observing even one outcome one proves that the states differ. If no one occurs in runs, that event has probability
when the states differ, which tends to zero as . Repetition therefore distinguishes equality from inequality with arbitrarily high probability.
For , put . After the first phase rotation the state is
Since , the requested state is
It is proportional to exactly when , hence when . The state is then , whose global phase has no physical effect.
Put and , where . In the ordered basis , the product of the two reflections is
The leading minus sign is a physically irrelevant global phase. The remaining rotation matrix rotates the good-bad plane through , where
Equivalently, one iterate changes the initial angle to .
The operators act on different qubits and therefore commute, so
Since ,
The scalar is a global phase. Thus each factor uses two Hadamard gates and one phase gate, and applying the factors in parallel or sequentially gives an exact quantum circuit of elementary gates.
Each summand of acts on one qubit, while each summand of acts on two. Therefore is a 2-local Hamiltonian. We have
Split into steps of length and use the second-order product formula
For one step, in the stated estimate, so the spectral-norm error is . The error bound for a product of unitary operators makes the total error
It is therefore enough to choose
with also large enough that the small-step estimate applies.
All terms commute. A factor uses a constant-size circuit of two controlled-NOT gates and one phase gate, up to a global phase, so one product-formula step costs gates. The complete Hamiltonian simulation consequently has size
The Time-dependent Schrödinger equation is
A stationary state of energy has a wavefunction , where
Its time dependence is only a global phase, and its probability density is independent of time.
The Time-dependent Schrödinger equation is
A stationary state of energy has a wavefunction , where
Its time dependence is only a global phase, and its probability density is independent of time.
electron spin is intrinsic angular momentum, independent of an orbital wavefunction's . It has , so
A spatial orbital therefore carries a two-component spinor degree of freedom. Noncommuting components do not describe an ordinary vector with simultaneously definite projections; measurements along one axis give only the two allowed values. Even a spherically symmetric orbital retains electron spin.
The associated magnetic moment is with and . A spinor changes sign under a rotation and returns under ; that sign is observable only relative to another coherent amplitude, not as an isolated global phase. A literal classically rotating charged sphere does not account for this fixed half-integer representation, component algebra and spinor rotation law. Classical angular momentum provides useful analogies for torque and precession, but no ordinary classical orientation reproduces the full intrinsic quantum spin structure.
Stationary states. Inside the infinite square well, the time-independent Schrödinger equation has sinusoidal solutions. The boundary conditions select ; normalization then gives
Each wavefunction vanishes outside the well. There is no nonzero state.
Immediate energy measurement after expansion. For the one-sided sudden expansion of an infinite square well, take the original wall at as fixed, so the expanded well occupies . In the sudden approximation, the initial wavefunction remains on , extended by zero elsewhere. The new ground state is . Its probability amplitude is
The Born rule therefore gives
The motion of the walls matters: a symmetric expansion about the old midpoint would instead give . The stated width alone does not explicitly identify the final endpoints. The first result uses the natural continuation of the specified left boundary; if both boundaries are moved, the final location must be supplied. For a new well containing , the overlap is .
Evolution of one energy eigenstate. For a time-independent Hamiltonian operator, write . Substitution into the Time-dependent Schrödinger equation gives , so
Only a global phase changes, leaving all measurement probabilities unchanged.
Delayed energy measurement. Expand the unchanged initial state in the complete new energy eigenbasis,
For the fixed-left-wall geometry, direct overlap integration gives
orthogonality isolates the new ground-state amplitude as . Its phase cancels on squaring, so the ground-state probability remains for every delay, provided the expanded well remains fixed and no intervening measurement or environment changes the state. The position probability density generally evolves because different eigenstates acquire different relative phases.
Each energy eigenstate picks up its own phase under unitary time evolution. The relative phase therefore changes at . After removing an irrelevant global phase, the state is
The diagonal position matrix elements vanish, but the annihilation operator and creation operator give
The two off-diagonal cross terms in the expectation value yield
Thus the angular frequency is , and the magnitude of the oscillation, meaning its amplitude, is
The peak-to-peak displacement is . The phase fixes where the oscillation starts but does not change . A pure or preparation has no mean oscillation, whereas an equal-weight quantum superposition maximizes its amplitude within this two-state family. The motion is produced by interference between energy eigenstates, rather than by a changing occupation of either one.
Let the infinite outer walls be at , the finite steps at , and the three potential energy values be . The original drawing specifies the ordering
The energy eigenstates can be chosen real. The Dirichlet boundary conditions are ; wavefunction matching at a finite potential step requires both and to be continuous at . In particular, neither finite step acts as an additional hard wall.
The time-independent Schrödinger equation gives
Thus a wavefunction is sinusoidal in a classically allowed region, with wavenumber , and a linear combination of exponential functions in a classically forbidden region, with inverse decay length . Its curvature changes sign relative to at a step crossing ; its slope does not jump.
By the Sturm oscillation theorem, the three energy eigenstates have exactly zero, one, and two interior nodes, respectively. Choose their global phases so that their slopes at the left wall are positive:
  • : a positive lobe in the left-hand potential well, followed by a nonoscillatory tail through the barrier and right-hand region. The tail reaches zero at the right wall. There are no interior nodes.
  • : two lobes of opposite sign in the left-hand potential well, with one interior node, followed by a nonoscillatory tail of the sign of the second lobe. Both the middle and right regions are classically forbidden regions.
  • : sinusoidal behavior in both outer regions, joined through the nonoscillatory barrier. There are two interior nodes in total. The right-hand wavelength is longer than the left-hand wavelength, because .
For , the right-hand piece is proportional to , rather than a pure decaying exponential: this enforces the finite-distance hard wall exactly. The barrier pieces likewise contain both exponential solutions. Their small tails are an instance of quantum tunnelling.
Figure 1.
Illustrative lowest three wavefunctions for the potential ordering in A1
. Details.
This is an original illustrative calculation, with vertical lines marking only the region boundaries. It uses , , , , , , and in arbitrary energy units. Its lowest energy eigenvalues are approximately , so it has exactly the required ordering. Here both nodes of the third wavefunction happen to lie towards the left; its dominant lobe is on the right. These precise positions and relative amplitudes are illustrative: the original drawing supplies no numerical lengths, barrier heights, or mass, so it does not determine a unique quantitative wavefunction. The required sketch features are the matching, curvature, hard-wall zeros, and ordered node counts.
Time dependence in quantum mechanics describes how a prepared quantum state changes and thereby changes the probabilities of later measurements. For an isolated system, the Schrödinger picture assigns this evolution to a state vector , governed by the Time-dependent Schrödinger equation
The Hamiltonian is a self-adjoint operator; it has units of energy, while has units of action, so has units of inverse time. For a particle with potential energy , this becomes
Given a suitable initial wavefunction and the physical boundary conditions, this first-order equation determines its subsequent propagation. Its linearity means that the evolution of a quantum superposition is the corresponding quantum superposition of evolved states.
For a real potential energy, this equation and its complex conjugate imply the local continuity equation
Here is the probability density and the probability current. Vanishing net boundary flux preserves wavefunction normalization, as required by the Born rule.
The time-evolution operator packages the solution for every initial state:
Because , differentiation gives
Therefore : this is unitary time evolution, preserving inner products and all state norms. It is reversible, with , and obeys the composition law .
For a time-independent Hamiltonian, the solution is the operator exponential
If the Hamiltonian varies with time, the analogous simple exponential of its integral is valid when for all relevant times. Otherwise time ordering is essential:
The meaning is explicit in the first terms of the ordered series,
the later-time operator stands on the left. In the position representation, the same propagation is expressed by the quantum-mechanical propagator
Its initial value is the Dirac delta function .
A time-independent Hamiltonian has energy eigenstates satisfying . A single such initial state evolves as
It is a stationary state: its global phase changes, but its probability density and the distributions of time-independent observables do not. Its energy is sharp. Any quantum superposition entirely within one degenerate energy eigenspace also acquires one common global phase and is stationary. Stationarity does not require zero probability current; for instance, on the ring has a constant density and persistent circulation when .
An arbitrary normalized state can instead contain different energy eigenvalues:
A continuous spectrum requires corresponding integrals. For the discrete case, an energy measurement gives with fixed probability (summed over degeneracies), but relative quantum phases change with time. Consequently
The interference terms can oscillate at angular frequencies . For two populated energy levels, this supplies a characteristic period when the interference term is nonzero. Thus fixed energy populations do not imply a stationary spatial distribution.
For a normalized state and an observable , its expectation value is
This is the statistical mean over repeated preparations and measurements. In an eigenbasis of energy eigenstates for a time-independent Hamiltonian and a time-independent ,
Only matrix elements connecting different energies can generate these oscillations. If , its expectation value is constant for every initial state, provided it has no explicit time dependence.
Differentiating the expectation value and substituting the Schrödinger equation for both the bra and ket proves the general Ehrenfest theorem:
Equivalently,
These manipulations require the state to lie in the relevant operator domains. Taking gives , so energy is conserved under a time-independent Hamiltonian.
For , the canonical commutation relation gives
Hence the particularly useful position-and-momentum form of Ehrenfest theorem is
It resembles Newton's second law, but the mean force generally differs from the force at the mean position. If a narrow wave packet samples a region where the force varies little, gives approximate classical motion. For a quadratic potential energy this replacement is exact. In particular the quantum harmonic oscillator obeys
The centroid follows the classical harmonic oscillator, although this does not specify the full evolving wavefunction or its width.
The Heisenberg picture expresses the same physics by assigning evolution to observables instead:
The expectation value is unchanged, and differentiation yields . Thus state propagation, evolving expectation values, and the classical correspondence in Ehrenfest theorem are mutually consistent descriptions of the same unitary time evolution.
Direct differentiation gives . Inserting this into the Schrödinger equation and separately matching the and constant terms yields
For , and . The normalizable Gaussian has no nodes, as expected for the nondegenerate one-dimensional ground state of this confining potential.
The normalization integral is . Choose its irrelevant global phase so that
For the oscillator ground-state density in a comparison wavelength, choose a free comparison particle with the same total energy. It has , hence comparison wavelength . Consequently
The bound density is localized on scale , with standard deviation , rather than being spatially uniform like the density of a single free plane wave. The comparison does not assign constant free-particle momentum to the bound state; its total energy also includes potential energy.
At wavelengths with , neglect the density-gradient term in the quadratic density-phase action. Complete the square in its remaining density terms:
The convergent Gaussian integral can be performed by a contour shift or by its Fourier-transform identity. Its determinant is independent of at this order. Combining that normalization with the saddle action into a constant gives
The saddle contribution to is ; the additional measure-dependent constant need not be assigned an invented numerical value. The density Gaussian extends the fluctuation integration beyond its exact positivity domain, which is justified only while fluctuations around are small. The smooth zero-winding assumption is also required as discussed above. A constant global phase zero mode gives a finite compact-group volume, handled separately from nonzero phonon modes.
Fourier transforming the Bose-gas phase-only action gives a kernel . Analytically continuing gives its real-frequency poles,
In the present units the excitation energy equals . Each real Fourier coordinate is a harmonic oscillator with inertia coefficient and spring coefficient , hence frequency equal to the square root of their ratio. This is the direct relation to a quantum harmonic chain. The mode is a gapless sound phonon; its finite speed reflects both the compressibility and the phase stiffness .
Retaining the density-gradient term provides a useful check. Its integration instead gives a temporal coefficient , so
This is the Bogoliubov spectrum. Its small- limit is the derived sound branch; at large within the contact model it crosses towards particle-like behaviour. The crossover in the squared dispersion is , precisely the scale beyond which the discarded density gradient is not small.
The same action checks the dimensional restriction in the saddle analysis. At nonzero temperature its zero Matsubara mode gives phase fluctuations proportional to ; at zero temperature integrating the frequency gives . Their infrared divergences invalidate uniform true long-range order for at nonzero temperature and for at zero temperature. The long-wave collective description can remain useful for correlations even where a global condensate saddle is not a literal symmetry-broken state. The contact coupling here is an effective low-energy parameter; this calculation does not determine ultraviolet renormalization or trap-specific surface modes.
Figure 1.
Original dimensionless Bogoliubov dispersion and its sound and particle limits
. Details.
A pure state is a unit vector in a complex Hilbert space, with vectors differing by a global phase representing the same physical state. An observable is a self-adjoint operator, with measurement probabilities determined by its spectral projections. For vectors in the relevant operator domains,
A squared norm vanishes exactly when its vector vanishes. Therefore zero dispersion is equivalent to .
In the position representation, and . On a common differentiable invariant domain,
so .
For two observables set , , . For real ,
If , nonpositivity of its discriminant yields . Equality holds exactly when the minimum squared norm vanishes, namely
The degenerate case must also be included: if , then and equality holds for every . Thus the complete criterion is that , or that the displayed real- relation holds. This includes by choosing when .
Apply the inequality to centred operators , . Their squared norms are the variances and their commutator is , giving
An eigenvector of either operator would have its corresponding dispersion zero, contradicting this positive lower bound if the other dispersion were finite and the stated domain conditions held. In the usual representation there are in fact no normalizable exact position or momentum eigenvectors; their generalized eigenvectors are not counterexamples. The equality condition above is the uncentered second-moment commutator inequality.
The no-cloning theorem states that no fixed deterministic quantum operation can perfectly duplicate every unknown pure state. For a unitary copier with a fixed blank, suppose it cloned two normalized vectors . Preservation of inner products would give , impossible for a nonorthogonal distinct pair with overlap strictly between zero and one in modulus. Including an environment does not help: its final overlap has modulus at most one, so one would require . Thus a universal perfect copier is impossible. Orthogonal known alternatives do not contradict this restriction.
Label the three qubits as input , Alice's entangled qubit and Bob's qubit . Initially their joint state is
The controlled-NOT gate from to changes this to
Apply and to the first qubit and group by Alice's two computational-basis outcomes. The result is
In expanded form the last two Bob factors are and . Their Alice labels must be and ; the repeated labels in the source are printing errors.
Alice measures her two qubits and sends the two classical bits to Bob. Each outcome has probability and Bob's conditional state is . He applies to recover the input, up to physically irrelevant global phase. Explicitly the corrections for are . This is quantum teleportation: Alice's input is consumed by measurement, so no second surviving copy is created. Before her classical message, Bob's reduced density operator is , independent of the input, so the protocol also supplies no faster-than-light communication.
The Time-dependent Schrödinger equation, with the Hamiltonian for a particle of mass in a real potential energy , is
A stationary state is an energy eigenstate: its wavefunction evolves by a single global phase,
Its probability density is independent of time. For a normalized wavefunction, the probability density and probability current are
Subtracting the complex conjugate of the Time-dependent Schrödinger equation, multiplied by , from the original equation multiplied by cancels the real potential energy terms and gives the continuity equation . Thus measures signed probability flow in the positive direction.
Inside the infinite square well, the time-independent Schrödinger equation and Dirichlet boundary conditions are
and the wavefunction vanishes outside the interval. For a nonzero state, integration by parts gives
The strict inequality follows because a function with zero derivative and zero endpoint values is zero. Put . The general solution is ; the first boundary condition gives , and the second gives , . Since , the normalized energy eigenstates and eigenvalues are
The normalization fixes the magnitude of the coefficient; its arbitrary global phase has been chosen real and positive.
For brevity write . With the physical indicial root , substitute into the equation from part (i). The coefficient of is
The indicial equation has already canceled the still lower power . Rearranging gives the recurrence relation
Its denominator is for every .
To impose wavefunction normalization at infinity, first suppose that the series never terminates. Then
This is the exponential-series growth associated with , which would overwhelm the factor in . A direct lower-bound argument makes the conclusion precise. All sufficiently late recurrence ratios are real and positive, so after a common global phase choice the tail coefficients have one sign. For any , there is an index such that
Induction then bounds the tail below by a positive multiple of
The finitely many earlier terms form a polynomial and cannot cancel this exponential growth. Thus grows at least as a positive multiple of for large , contradicting wavefunction normalization. This proves that the regular series must terminate.
Since the denominator never vanishes, termination requires the numerator to vanish at some nonnegative integer :
Then and every later coefficient is zero. Consequently is a polynomial of degree , with a factor ; equivalently,
where has degree . This is series-termination quantization of the Coulomb radial equation. If denotes the principal quantum number, the associated energy eigenvalues are
Here counts the degree of the remaining radial polynomial; it is not the principal quantum number itself.