Skip to content

Change of Basis

A change of basis rewrites the same quantum state, operator, and measurement in a different coordinate system. It changes component columns and matrix entries, but it does not change the abstract objects or any physical prediction when every represented object is transformed consistently.

This distinction is easy to state and unusually easy to mishandle. A unitary matrix can describe a passive coordinate rewrite, an active physical operation, or a change in which observable an apparatus measures. Those three uses share algebra but answer different physical questions.

This page fixes one passive convention and uses it throughout. The general linear-algebra theory of arbitrary invertible coordinate changes belongs to Change of Basis in the Mathematical Toolkit. Here the emphasis is quantum-mechanical bookkeeping: amplitudes, observables, density operators, continuous representations, composite systems, and basis-independent checks.

Let

E={∣en⟩},F={∣fa⟩}\mathcal E=\{\lvert e_n\rangle\}, \qquad \mathcal F=\{\lvert f_a\rangle\}

be two ordered orthonormal bases of the same Hilbert space. Define the overlap matrix with new-basis labels on rows and old-basis labels on columns:

San=⟨fa∣en⟩.S_{an}=\langle f_a\vert e_n\rangle.

If cc is the old component column and dd is the new component column, then

d=Sc.d=Sc.

The matching operator rule is

AF=SAES†.A_{\mathcal F}=S A_{\mathcal E}S^\dagger.

These two equations must travel together. They determine every convention on this page.

ObjectPassive transformation rule
State componentsd=Scd=Sc
Basis ket∣fa⟩=∑nSan∗∣en⟩\lvert f_a\rangle=\sum_n S_{an}^*\lvert e_n\rangle
OperatorAF=SAES†A_{\mathcal F}=S A_{\mathcal E}S^\dagger
Density operatorρF=SρES†\rho_{\mathcal F}=S\rho_{\mathcal E}S^\dagger
Measurement effect(Er)F=S(Er)ES†(E_r)_{\mathcal F}=S(E_r)_{\mathcal E}S^\dagger

Some books define their basis-change matrix as S†S^\dagger, so their formulas place daggers on the opposite side. Neither convention is intrinsically better. A reliable calculation labels the matrix entries, derives one component formula, and then remains consistent.

The Abstract Object and Its Representatives

Section titled “The Abstract Object and Its Representatives”

A ket is not a column of numbers until a basis has been chosen. The coordinate maps associated with E\mathcal E and F\mathcal F send the same abstract ket to two different columns:

RE∣ψ⟩=c,RF∣ψ⟩=d.R_{\mathcal E}\lvert\psi\rangle=c, \qquad R_{\mathcal F}\lvert\psi\rangle=d.

The overlap matrix is the coordinate map between those representations:

S=RFRE−1,d=Sc.S=R_{\mathcal F}R_{\mathcal E}^{-1}, \qquad d=Sc.

Likewise, one abstract operator has different matrices,

AE=REARE−1,AF=RFARF−1.A_{\mathcal E} = R_{\mathcal E}A R_{\mathcal E}^{-1}, \qquad A_{\mathcal F} = R_{\mathcal F}A R_{\mathcal F}^{-1}.

The following diagram separates the objects from their representatives and shows where the invariant prediction lives.

An abstract state and operator represented in two bases, with both representations giving the same expectation value

The coordinate maps RER_{\mathcal E} and RFR_{\mathcal F} produce different columns and matrices. The overlap map SS connects the representations, while ⟨ψ∣A∣ψ⟩\langle\psi\vert A\vert\psi\rangle is independent of either choice.

The distinction between an object and its representation is developed more broadly in Bases and Representations.

Because both bases are complete and orthonormal,

∑n∣en⟩⟨en∣=I,∑a∣fa⟩⟨fa∣=I.\sum_n \lvert e_n\rangle\langle e_n\rvert=I, \qquad \sum_a \lvert f_a\rangle\langle f_a\rvert=I.

The matrix product SS†SS^\dagger has entries

(SS†)ab=∑nSanSbn∗=∑n⟨fa∣en⟩⟨en∣fb⟩=⟨fa∣fb⟩=δab.\begin{aligned} (SS^\dagger)_{ab} &= \sum_n S_{an}S_{bn}^* \\ &= \sum_n \langle f_a\vert e_n\rangle \langle e_n\vert f_b\rangle \\ &= \langle f_a\vert f_b\rangle \\ &= \delta_{ab}. \end{aligned}

Similarly,

(S†S)nm=∑aSan∗Sam=∑a⟨en∣fa⟩⟨fa∣em⟩=δnm.\begin{aligned} (S^\dagger S)_{nm} &= \sum_a S_{an}^*S_{am} \\ &= \sum_a \langle e_n\vert f_a\rangle \langle f_a\vert e_m\rangle \\ &= \delta_{nm}. \end{aligned}

Therefore

SS†=S†S=I,S−1=S†.SS^\dagger=S^\dagger S=I, \qquad S^{-1}=S^\dagger.

This is not an extra physical postulate. It follows from comparing two orthonormal coordinate systems on the same Hilbert space. For nonorthonormal bases, the coordinate map is generally invertible but not unitary.

Basis Kets and State Components Transform Oppositely

Section titled “Basis Kets and State Components Transform Oppositely”

Insert the old completeness relation into a new basis ket:

∣fa⟩=∑n∣en⟩⟨en∣fa⟩=∑nSan∗∣en⟩.\begin{aligned} \lvert f_a\rangle &= \sum_n \lvert e_n\rangle \langle e_n\vert f_a\rangle \\ &= \sum_n S_{an}^*\lvert e_n\rangle. \end{aligned}

The inverse relation is

∣en⟩=∑aSan∣fa⟩.\lvert e_n\rangle = \sum_a S_{an}\lvert f_a\rangle.

Now write the same state in both bases:

∣ψ⟩=∑ncn∣en⟩=∑ada∣fa⟩.\lvert\psi\rangle = \sum_n c_n\lvert e_n\rangle = \sum_a d_a\lvert f_a\rangle.

Taking the overlap with ⟨fa∣\langle f_a\rvert gives

da=⟨fa∣ψ⟩=∑n⟨fa∣en⟩cn=∑nSancn.\begin{aligned} d_a &= \langle f_a\vert\psi\rangle \\ &= \sum_n \langle f_a\vert e_n\rangle c_n \\ &= \sum_n S_{an}c_n. \end{aligned}

Thus basis kets carry S∗S^* in their old-basis expansion, while ket components carry SS. This opposite motion is what leaves the abstract sum ∑ncn∣en⟩\sum_n c_n\lvert e_n\rangle unchanged.

A Practical Dictionary for Matrix Conventions

Section titled “A Practical Dictionary for Matrix Conventions”

Numerical linear algebra packages commonly return a matrix VV whose columns are the new basis vectors written in old coordinates:

V=([f1]E⋯[fN]E).V = \begin{pmatrix} [f_1]_{\mathcal E} & \cdots & [f_N]_{\mathcal E} \end{pmatrix}.

Its entries are

Vna=⟨en∣fa⟩=San∗.V_{na} = \langle e_n\vert f_a\rangle = S_{an}^*.

Therefore

V=S†,S=V†.V=S^\dagger, \qquad S=V^\dagger.

The equivalent formulas in the column-eigenvector convention are

c=Vd,d=V†c,AF=V†AEV.c=Vd, \qquad d=V^\dagger c, \qquad A_{\mathcal F}=V^\dagger A_{\mathcal E}V.

This dictionary resolves most apparent conflicts between textbooks and software. Before using a memorized similarity transformation, ask what the columns of the matrix actually contain.

Suppose SF←ES_{\mathcal F\leftarrow\mathcal E} maps E\mathcal E components to F\mathcal F components, and SG←FS_{\mathcal G\leftarrow\mathcal F} maps F\mathcal F components to G\mathcal G components. Then

SG←E=SG←FSF←E.S_{\mathcal G\leftarrow\mathcal E} = S_{\mathcal G\leftarrow\mathcal F} S_{\mathcal F\leftarrow\mathcal E}.

The rightmost conversion acts first. Reversing a conversion takes the adjoint:

SE←F=SF←E†.S_{\mathcal E\leftarrow\mathcal F} = S_{\mathcal F\leftarrow\mathcal E}^\dagger.

These relations are useful diagnostics. A chain of exact orthonormal basis changes must remain unitary, and a round trip must return the identity.

For two states with old columns cc and bb, the new columns are

d=Sc,a=Sb.d=Sc, \qquad a=Sb.

Their inner product is unchanged:

a†d=b†S†Sc=b†c.a^\dagger d = b^\dagger S^\dagger S c = b^\dagger c.

In particular,

d†d=c†c.d^\dagger d=c^\dagger c.

Normalization is therefore representation-independent. A basis change cannot repair an unnormalized state or turn a nonzero state into the zero vector; it only redistributes the same norm among components. See Normalization for ordinary, continuum, box, and flux conventions.

Transition amplitudes also remain invariant when both endpoint states are rewritten consistently:

⟨ϕ∣ψ⟩=b†c=(Sb)†(Sc).\langle\phi\vert\psi\rangle = b^\dagger c = (Sb)^\dagger(Sc).

Let

(AE)mn=⟨em∣A∣en⟩.(A_{\mathcal E})_{mn} = \langle e_m\vert A\vert e_n\rangle.

In the new basis,

(AF)ab=⟨fa∣A∣fb⟩=∑m,n⟨fa∣em⟩(AE)mn⟨en∣fb⟩=∑m,nSam(AE)mnSbn∗.\begin{aligned} (A_{\mathcal F})_{ab} &= \langle f_a\vert A\vert f_b\rangle \\ &= \sum_{m,n} \langle f_a\vert e_m\rangle (A_{\mathcal E})_{mn} \langle e_n\vert f_b\rangle \\ &= \sum_{m,n} S_{am}(A_{\mathcal E})_{mn}S_{bn}^*. \end{aligned}

Hence

AF=SAES†.A_{\mathcal F} = S A_{\mathcal E}S^\dagger.

The identity operator remains the identity, but a general operator need not retain its pattern of entries. Diagonality, sparsity, band structure, and the size of individual matrix elements are representation-dependent.

The transformation respects operator algebra:

(AB)F=AFBF,[A,B]F=S[A,B]ES†,(A†)F=(AF)†.\begin{aligned} (AB)_{\mathcal F} &= A_{\mathcal F}B_{\mathcal F}, \\ [A,B]_{\mathcal F} &= S[A,B]_{\mathcal E}S^\dagger, \\ (A^\dagger)_{\mathcal F} &= (A_{\mathcal F})^\dagger. \end{aligned}

Consequently Hermiticity, unitarity, normality, commutation relations, and operator identities do not depend on the orthonormal basis used to display them. Other representation forms are catalogued in Operator Representations.

Transform the state and operator together:

d=Sc,AF=SAES†.d=Sc, \qquad A_{\mathcal F}=S A_{\mathcal E}S^\dagger.

Then

d†AFd=c†S†(SAES†)Sc=c†AEc.\begin{aligned} d^\dagger A_{\mathcal F}d &= c^\dagger S^\dagger \left(SA_{\mathcal E}S^\dagger\right) Sc \\ &= c^\dagger A_{\mathcal E}c. \end{aligned}

The same cancellation proves invariance of a general matrix element:

(Sb)†(SAES†)(Sc)=b†AEc.(Sb)^\dagger \left(SA_{\mathcal E}S^\dagger\right) (Sc) = b^\dagger A_{\mathcal E}c.

If a calculation gives different expectation values in two bases, the physics has not become basis-dependent. At least one state, operator, index ordering, or conjugation was transformed inconsistently.

Suppose an old-coordinate eigenvector vv satisfies

AEv=λv.A_{\mathcal E}v=\lambda v.

Its new-coordinate column is SvSv, and

AF(Sv)=SAES†Sv=SAEv=λSv.\begin{aligned} A_{\mathcal F}(Sv) &= SA_{\mathcal E}S^\dagger Sv \\ &= S A_{\mathcal E}v \\ &= \lambda Sv. \end{aligned}

Thus eigenvalues and eigenspace dimensions are unchanged. In finite dimension, unitary similarity also preserves the characteristic polynomial, trace, determinant, rank, and singular values.

An individual eigenvector inside a degenerate eigenspace is not canonical. If AA has eigenvalue λ\lambda on a subspace Hλ\mathcal H_\lambda, any orthonormal rotation within Hλ\mathcal H_\lambda gives another valid eigenbasis. The invariant object is the spectral projector

Pλ=∑a∈λ∣fa⟩⟨fa∣,P_\lambda = \sum_{a\in\lambda} \lvert f_a\rangle\langle f_a\rvert,

not the phase or orientation of each displayed eigenvector. This matters in analytic derivations and in numerical diagonalization near degeneracies.

Let AEA_{\mathcal E} be Hermitian, and let a unitary matrix VV contain an orthonormal eigenbasis in its columns:

AEV=VΛ,V†V=I.A_{\mathcal E}V=V\Lambda, \qquad V^\dagger V=I.

The new basis consists of those eigenvectors. Since S=V†S=V^\dagger,

AF=V†AEV=Λ.A_{\mathcal F} = V^\dagger A_{\mathcal E}V = \Lambda.

State components in the eigenbasis are

d=V†c.d=V^\dagger c.

Diagonalization does not physically alter the observable. It chooses coordinates adapted to its invariant subspaces. The linear-algebra theorem and algorithmic issues live in Diagonalization and Matrix Diagonalization.

Passive Rewrites, Active Operations, and New Measurements

Section titled “Passive Rewrites, Active Operations, and New Measurements”

Three procedures are often represented by closely related unitary matrices:

  • In a passive basis change, the coordinates of every represented object change while the abstract state, operators, and apparatus remain fixed. All predictions are unchanged.
  • In an active unitary operation, the physical state or operator changes relative to a fixed reference basis. Later measurement probabilities can change.
  • In a change of measurement basis, the measured projectors or effects change while the prepared state remains fixed. Outcome probabilities generally change.

For a passive change,

∣ψ⟩ is fixed,c⟼d=Sc.\lvert\psi\rangle\ \text{is fixed}, \qquad c\longmapsto d=Sc.

For an active operation in a fixed basis,

∣ψ⟩⟼U∣ψ⟩,c⟼UEc.\lvert\psi\rangle \longmapsto U\lvert\psi\rangle, \qquad c\longmapsto U_{\mathcal E}c.

If the new basis is physically constructed as

∣fa⟩=U∣ea⟩,\lvert f_a\rangle=U\lvert e_a\rangle,

then its overlap matrix is

San=⟨ea∣U†∣en⟩,S_{an} = \langle e_a\vert U^\dagger\vert e_n\rangle,

so S=UE†S=U_{\mathcal E}^\dagger. The passive coordinate transformation induced by an active rotation therefore carries the inverse unitary. This is the source of many reversed rotations and misplaced daggers.

A New Measurement Basis Is a New Physical Question

Section titled “A New Measurement Basis Is a New Physical Question”

Suppose a state is prepared with old components cc, while an apparatus measures the rank-one projectors

Pa=∣fa⟩⟨fa∣.P_a=\lvert f_a\rangle\langle f_a\rvert.

The outcome amplitude is

⟨fa∣ψ⟩=(Sc)a,\langle f_a\vert\psi\rangle = (Sc)_a,

and the probability is

p(a)=∣(Sc)a∣2.p(a)=\lvert(Sc)_a\rvert^2.

The multiplication ScSc is algebraically identical to rewriting the state in the F\mathcal F basis. The interpretation is different:

  • In a passive rewrite, the apparatus projectors are rewritten too, and no probability changes.
  • In a new measurement, the prepared state is held fixed while the physical projectors are replaced, so the outcome distribution can change.

This distinction is developed through concrete measurements in Probability in Different Bases.

Let the old basis be

E={∣0⟩,∣1⟩},\mathcal E=\{\lvert0\rangle,\lvert1\rangle\},

and the new basis be

∣+⟩=∣0⟩+∣1⟩2,∣−⟩=∣0⟩−∣1⟩2.\begin{aligned} \lvert+\rangle &= \frac{\lvert0\rangle+\lvert1\rangle}{\sqrt2}, \\ \lvert-\rangle &= \frac{\lvert0\rangle-\lvert1\rangle}{\sqrt2}. \end{aligned}

With new labels on rows and old labels on columns,

S=12(111−1).S = \frac{1}{\sqrt2} \begin{pmatrix} 1 & 1\\ 1 & -1 \end{pmatrix}.

For

∣ψ⟩=α∣0⟩+β∣1⟩,\lvert\psi\rangle = \alpha\lvert0\rangle + \beta\lvert1\rangle,

the new components are

(d+d−)=12(α+βα−β).\begin{pmatrix} d_+\\ d_- \end{pmatrix} = \frac{1}{\sqrt2} \begin{pmatrix} \alpha+\beta\\ \alpha-\beta \end{pmatrix}.

The old matrix of σz\sigma_z is

(σz)E=(100−1).(\sigma_z)_{\mathcal E} = \begin{pmatrix} 1 & 0\\ 0 & -1 \end{pmatrix}.

In the new basis,

(σz)F=S(σz)ES†=(0110).\begin{aligned} (\sigma_z)_{\mathcal F} &= S(\sigma_z)_{\mathcal E}S^\dagger \\ &= \begin{pmatrix} 0 & 1\\ 1 & 0 \end{pmatrix}. \end{aligned}

The same abstract operator is diagonal in one basis and off-diagonal in the other. Its expectation value agrees:

c†(σz)Ec=∣α∣2−∣β∣2,d†(σz)Fd=∣α∣2−∣β∣2.\begin{aligned} c^\dagger(\sigma_z)_{\mathcal E}c &= \lvert\alpha\rvert^2-\lvert\beta\rvert^2, \\ d^\dagger(\sigma_z)_{\mathcal F}d &= \lvert\alpha\rvert^2-\lvert\beta\rvert^2. \end{aligned}

By contrast, physically measuring in the ∣±⟩\lvert\pm\rangle basis gives

p(+)=∣α+β∣22,p(−)=∣α−β∣22,p(+) = \frac{\lvert\alpha+\beta\rvert^2}{2}, \qquad p(-) = \frac{\lvert\alpha-\beta\rvert^2}{2},

which need not equal the ∣0⟩,∣1⟩\lvert0\rangle,\lvert1\rangle measurement probabilities.

Real Hadamard matrices can hide where complex conjugation enters. A general spin-1/21/2 basis associated with spherical angles θ\theta and ϕ\phi may be chosen as

∣+n⟩=cos⁡θ2∣0⟩+eiϕsin⁡θ2∣1⟩,∣−n⟩=−e−iϕsin⁡θ2∣0⟩+cos⁡θ2∣1⟩.\begin{aligned} \lvert+_{\boldsymbol n}\rangle &= \cos\frac{\theta}{2}\lvert0\rangle + e^{i\phi}\sin\frac{\theta}{2}\lvert1\rangle, \\ \lvert-_{\boldsymbol n}\rangle &= -e^{-i\phi}\sin\frac{\theta}{2}\lvert0\rangle + \cos\frac{\theta}{2}\lvert1\rangle. \end{aligned}

The overlap matrix is

Sn=(cos⁡(θ/2)e−iϕsin⁡(θ/2)−eiϕsin⁡(θ/2)cos⁡(θ/2)).S_{\boldsymbol n} = \begin{pmatrix} \cos(\theta/2) & e^{-i\phi}\sin(\theta/2)\\ -e^{i\phi}\sin(\theta/2) & \cos(\theta/2) \end{pmatrix}.

For c=(α,β)Tc=(\alpha,\beta)^T,

d+=cos⁡θ2α+e−iϕsin⁡θ2β,d−=−eiϕsin⁡θ2α+cos⁡θ2β.\begin{aligned} d_+ &= \cos\frac{\theta}{2}\alpha + e^{-i\phi}\sin\frac{\theta}{2}\beta, \\ d_- &= -e^{i\phi}\sin\frac{\theta}{2}\alpha + \cos\frac{\theta}{2}\beta. \end{aligned}

The phases in these rows come from bras, not kets. Replacing e−iϕe^{-i\phi} by eiϕe^{i\phi} without also changing the basis convention gives incorrect interference terms.

Each basis vector may be rephased independently:

∣fa′⟩=eiχa∣fa⟩.\lvert f_a'\rangle = e^{i\chi_a}\lvert f_a\rangle.

Let

D=diag⁡(eiχ1,…,eiχN).D=\operatorname{diag} \left(e^{i\chi_1},\ldots,e^{i\chi_N}\right).

Then

S′=D†S,d′=D†d,AF′=D†AFD.\begin{aligned} S'&=D^\dagger S, \\ d'&=D^\dagger d, \\ A_{\mathcal F'}&=D^\dagger A_{\mathcal F}D. \end{aligned}

The projector associated with one basis ray is unchanged:

∣fa′⟩⟨fa′∣=∣fa⟩⟨fa∣.\lvert f_a'\rangle\langle f_a'\rvert = \lvert f_a\rangle\langle f_a\rvert.

Therefore outcome probabilities and expectation values cannot depend on these phase choices. Component phases and off-diagonal matrix phases do change, so tables of eigenvectors from different references may look different while describing the same rays and projectors.

If the basis depends smoothly on external parameters, derivatives of those phase choices introduce a connection. That is the beginning of geometric phase, not a failure of basis invariance. The global-phase distinction for a single state is reviewed in Rays and Global Phase.

A density operator and every measurement effect transform by the operator rule:

ρF=SρES†,(Er)F=S(Er)ES†.\rho_{\mathcal F} = S\rho_{\mathcal E}S^\dagger, \qquad (E_r)_{\mathcal F} = S(E_r)_{\mathcal E}S^\dagger.

The Born probability is unchanged:

Tr⁡(ρF(Er)F)=Tr⁡(SρEErS†)=Tr⁡(ρE(Er)E).\begin{aligned} \operatorname{Tr} \left(\rho_{\mathcal F}(E_r)_{\mathcal F}\right) &= \operatorname{Tr} \left( S\rho_{\mathcal E}E_rS^\dagger \right) \\ &= \operatorname{Tr} \left(\rho_{\mathcal E}(E_r)_{\mathcal E}\right). \end{aligned}

Unitary similarity preserves trace, positivity, rank, eigenvalues, purity, and von Neumann entropy. It does not preserve the location of individual matrix entries.

For example,

ρE=∣0⟩⟨0∣=(1000)\rho_{\mathcal E} = \lvert0\rangle\langle0\rvert = \begin{pmatrix} 1 & 0\\ 0 & 0 \end{pmatrix}

becomes in the ∣±⟩\lvert\pm\rangle basis

ρF=12(1111).\rho_{\mathcal F} = \frac12 \begin{pmatrix} 1 & 1\\ 1 & 1 \end{pmatrix}.

The same pure state is diagonal in one basis and has off-diagonal entries in another. Claims about “coherence in the off-diagonal terms” must therefore name a basis or a physically preferred decomposition. The basis-independent properties of ρ\rho are developed in Density Operators.

Quantity or propertyBasis-invariant?Reason
Norm and inner productsYesUnitarity preserves the Hilbert-space metric
Probabilities and expectation valuesYesStates and measurement operators transform together
Eigenvalues and eigenspace dimensionsYesOperator matrices are unitarily similar
Trace, rank, purity, and entropyYesThey depend on spectrum or unitary invariants
State componentsNoComponents are coordinates
Individual matrix entriesNoEntries refer to chosen basis vectors
Diagonality and sparsityNoA basis can be adapted or poorly adapted to an operator
Density-matrix off-diagonal entriesNoTheir positions depend on the reference basis
Entanglement under local basis changesYesLocal unitaries preserve Schmidt coefficients

An invariant statement should be expressible without privileging the labels of one representation. A coordinate-dependent statement can still be useful, but its basis must be declared.

The same structure extends from matrices to integral kernels. Let {∣α⟩}\{\lvert\alpha\rangle\} and {∣β⟩}\{\lvert\beta\rangle\} be generalized continuous bases with their appropriate measures. Define

K(β,α)=⟨β∣α⟩.K(\beta,\alpha) = \langle\beta\vert\alpha\rangle.

The two wavefunctions of the same state are related by

ψβ(β)=∫dμ(α) K(β,α)ψα(α).\psi_\beta(\beta) = \int d\mu(\alpha)\, K(\beta,\alpha)\psi_\alpha(\alpha).

The inverse transformation is

ψα(α)=∫dν(β) K(β,α)∗ψβ(β).\psi_\alpha(\alpha) = \int d\nu(\beta)\, K(\beta,\alpha)^*\psi_\beta(\beta).

Kernel unitarity is the continuum analogue of S†S=IS^\dagger S=I:

∫dν(β) K(β,α)∗K(β,α′)=δμ(α,α′),∫dμ(α) K(β,α)K(β′,α)∗=δν(β,β′).\begin{aligned} \int d\nu(\beta)\, K(\beta,\alpha)^*K(\beta,\alpha') &= \delta_\mu(\alpha,\alpha'), \\ \int d\mu(\alpha)\, K(\beta,\alpha)K(\beta',\alpha)^* &= \delta_\nu(\beta,\beta'). \end{aligned}

The delta distributions are defined relative to the stated measures. Omitting a Jacobian or using a delta function tied to a different measure can make a correct formal transformation appear nonunitary.

With the convention

⟨p∣x⟩=12πℏe−ipx/ℏ,\langle p\vert x\rangle = \frac{1}{\sqrt{2\pi\hbar}} e^{-ipx/\hbar},

the momentum-space wavefunction is

ϕ(p)=12πℏ∫−∞∞dx e−ipx/ℏψ(x),\phi(p) = \frac{1}{\sqrt{2\pi\hbar}} \int_{-\infty}^{\infty}dx\, e^{-ipx/\hbar}\psi(x),

and the inverse is

ψ(x)=12πℏ∫−∞∞dp eipx/ℏϕ(p).\psi(x) = \frac{1}{\sqrt{2\pi\hbar}} \int_{-\infty}^{\infty}dp\, e^{ipx/\hbar}\phi(p).

This is a continuous change of representation. The abstract state does not move from position to momentum; its coordinates are rewritten using the overlap kernel. Plancherel’s theorem gives the norm check

∫dx ∣ψ(x)∣2=∫dp ∣ϕ(p)∣2.\int dx\,\lvert\psi(x)\rvert^2 = \int dp\,\lvert\phi(p)\rvert^2.

Conventions, dimensions, operator kernels, and the distinction between pp and wave number kk are treated in Momentum-Space Representation and Fourier Transform.

Operator Kernels in Continuous Representations

Section titled “Operator Kernels in Continuous Representations”

If

Aα(α,α′)=⟨α∣A∣α′⟩,A_\alpha(\alpha,\alpha') = \langle\alpha\vert A\vert\alpha'\rangle,

then its kernel in the β\beta representation is

Aβ(β,β′)=∫dμ(α)∫dμ(α′)×K(β,α)×Aα(α,α′)×K(β′,α′)∗.\begin{aligned} A_\beta(\beta,\beta') &= \int d\mu(\alpha) \int d\mu(\alpha') \\ &\quad\times K(\beta,\alpha) \\ &\quad\times A_\alpha(\alpha,\alpha') \\ &\quad\times K(\beta',\alpha')^*. \end{aligned}

This is the integral-kernel form of AF=SAES†A_{\mathcal F}=S A_{\mathcal E}S^\dagger. A position-space differential operator may become multiplication in momentum space, while a local potential may become a convolution kernel. The operator is unchanged even though its computational form can change dramatically.

For unbounded operators, a representation is not specified by a formal formula alone. The domain must transform as well:

D(AF)=SD(AE).\mathcal D(A_{\mathcal F}) = S\mathcal D(A_{\mathcal E}).

Ignoring domains can turn a legitimate unitary equivalence into an invalid operator identity. See Domains of Operators.

Not every useful expansion uses an orthonormal basis. If {∣bi⟩}\{\lvert b_i\rangle\} is nonorthonormal, define its Gram matrix

Gij=⟨bi∣bj⟩.G_{ij}=\langle b_i\vert b_j\rangle.

For

∣ψ⟩=∑ici∣bi⟩,\lvert\psi\rangle = \sum_i c^i\lvert b_i\rangle,

the norm is

⟨ψ∣ψ⟩=c†Gc,\langle\psi\vert\psi\rangle = c^\dagger Gc,

not generally c†cc^\dagger c. Moreover, ⟨bi∣ψ⟩\langle b_i\vert\psi\rangle is not the coefficient cic^i. Coefficients are extracted with a dual basis {∣bi⟩}\{\lvert b^i\rangle\} satisfying

⟨bi∣bj⟩=δij.\langle b^i\vert b_j\rangle=\delta^i{}_j.

A change between nonorthonormal bases is a general invertible coordinate change, and its matrix need not be unitary in the Euclidean sense. It preserves the physical inner product only when the Gram matrix is transformed consistently. The general coordinate formulas belong to the Mathematical Toolkit treatment.

For a bipartite basis

{∣ei⟩A⊗∣gμ⟩B},\{\lvert e_i\rangle_A\otimes\lvert g_\mu\rangle_B\},

suppose the two subsystems are independently rewritten with overlap matrices SAS_A and SBS_B. The product-basis overlap matrix is

SAB=SA⊗SB.S_{AB}=S_A\otimes S_B.

If the state coefficients are arranged as a matrix CC with entries CiμC_{i\mu}, then

D=SACSBT.D=S_A C S_B^T.

Indeed,

Daα=∑i,μ(SA)ai(SB)αμCiμ.D_{a\alpha} = \sum_{i,\mu} (S_A)_{ai}(S_B)_{\alpha\mu}C_{i\mu}.

The transpose on the right follows from placing the subsystem-BB index as the column index of CC; it is not an adjoint. In vectorized notation the same rule is (SA⊗SB)c(S_A\otimes S_B)c once a tensor-product ordering is fixed.

The reduced state transforms locally:

(ρA)F=SA(ρA)ESA†.(\rho_A)_{\mathcal F} = S_A(\rho_A)_{\mathcal E}S_A^\dagger.

Therefore its eigenvalues, and hence the Schmidt coefficients and bipartite entanglement entropy of a pure state, are invariant under local basis changes. The tensor-product decomposition itself is additional physical structure; an arbitrary global basis change need not look local with respect to it. See Schmidt Decomposition.

Two complete orthonormal bases of the same space are connected by a unitary map. Two finite lists obtained by truncating different bases need not be.

Let PEP_{\mathcal E} and PFP_{\mathcal F} project onto the two retained subspaces. If those subspaces differ, the finite overlap matrix

San=⟨fa∣en⟩S_{an}=\langle f_a\vert e_n\rangle

can fail to satisfy S†S=IS^\dagger S=I. That failure is not evidence that the full basis transformation is nonunitary. It measures leakage outside the retained subspace.

This distinction matters when comparing truncated oscillator bases, plane-wave cutoffs, finite grids, or numerically computed low-energy eigenspaces. An exact unitary similarity preserves the full spectrum; projection and truncation can change eigenvalues and expectation values.

For a finite-dimensional calculation, the following procedure keeps the convention auditable.

  1. State the old and new ordered bases.
  2. Build San=⟨fa∣en⟩S_{an}=\langle f_a\vert e_n\rangle, or obtain V=S†V=S^\dagger from new basis vectors stored as columns.
  3. Check S†SS^\dagger S and SS†SS^\dagger against the identity to the expected tolerance.
  4. Transform states with d=Scd=Sc and operators with AF=SAES†A_{\mathcal F}=S A_{\mathcal E}S^\dagger.
  5. Compare norms, expectation values, traces, and eigenvalues before trusting individual entries.
  6. Near a degeneracy, compare invariant subspaces or spectral projectors rather than phases and orderings of individual eigenvectors.
  7. For composite systems, record tensor-factor order and reshape conventions.

Do not compute a numerical inverse of a matrix already known to be unitary; use its conjugate transpose. If the proposed basis is nonorthogonal or nearly linearly dependent, inspect its Gram matrix and condition number instead of forcing a unitary formula.

Given a candidate overlap matrix SS, state cc, operator AA, and density operator ρ\rho, test

S†S≃I,∥Sc∥2≃∥c∥2,(Sc)†(SAS†)(Sc)≃c†Ac,Tr⁡(SρS†)≃Tr⁡ρ.\begin{aligned} S^\dagger S &\simeq I, \\ \lVert Sc\rVert^2 &\simeq \lVert c\rVert^2, \\ (Sc)^\dagger(SAS^\dagger)(Sc) &\simeq c^\dagger Ac, \\ \operatorname{Tr}(S\rho S^\dagger) &\simeq \operatorname{Tr}\rho. \end{aligned}

For a Hermitian operator, also check

spec⁡(SAS†)≃spec⁡(A).\operatorname{spec}(SAS^\dagger) \simeq \operatorname{spec}(A).

A failed norm test usually signals a malformed overlap matrix, inconsistent basis ordering, or truncation. A passed norm test with a failed expectation test usually means the state and operator were transformed with incompatible conventions. More calculation-level checks are collected in Common Checks and Sanity Tests.

  • Writing a component column without naming its ordered basis.
  • Defining San=⟨fa∣en⟩S_{an}=\langle f_a\vert e_n\rangle and then using the formulas for S†S^\dagger.
  • Transforming the state but leaving the operator or measurement matrix in the old basis.
  • Replacing a conjugate transpose by an ordinary transpose in a complex basis.
  • Treating a passive coordinate rewrite as active time evolution, rotation, or gate application.
  • Calling a new physical measurement basis a mere relabelling.
  • Comparing eigenvector phases or orderings as though they were invariant.
  • Assuming off-diagonal density-matrix entries have a basis-independent meaning.
  • Applying unitary formulas to a nonorthonormal basis without its Gram matrix and dual basis.
  • Treating overlap matrices between different truncated subspaces as exact unitary basis changes.
  • Forgetting that a continuous basis transformation includes measures, Jacobians, and distributional normalization.
  • Ignoring operator domains when changing representations in an infinite-dimensional Hilbert space.
  • P. A. M. Dirac, The Principles of Quantum Mechanics, 4th ed., Oxford University Press, 1958.
  • J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press, 1955.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
  • L. E. Ballentine, Quantum Mechanics: A Modern Development, World Scientific, 1998.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010.
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
  • M. Reed and B. Simon, Methods of Modern Mathematical Physics, Vol. I: Functional Analysis, revised and enlarged ed., Academic Press, 1980.

1. Recover the basis-vector transformation

Section titled “1. Recover the basis-vector transformation”

Starting from

San=⟨fa∣en⟩,S_{an}=\langle f_a\vert e_n\rangle,

derive both expansions

∣fa⟩=∑nSan∗∣en⟩,∣en⟩=∑aSan∣fa⟩.\begin{aligned} \lvert f_a\rangle &= \sum_n S_{an}^*\lvert e_n\rangle, \\ \lvert e_n\rangle &= \sum_a S_{an}\lvert f_a\rangle. \end{aligned}
Solution

Insert the old completeness relation:

∣fa⟩=∑n∣en⟩⟨en∣fa⟩=∑nSan∗∣en⟩.\begin{aligned} \lvert f_a\rangle &= \sum_n \lvert e_n\rangle \langle e_n\vert f_a\rangle \\ &= \sum_n S_{an}^*\lvert e_n\rangle. \end{aligned}

Insert the new completeness relation into an old basis ket:

∣en⟩=∑a∣fa⟩⟨fa∣en⟩=∑aSan∣fa⟩.\begin{aligned} \lvert e_n\rangle &= \sum_a \lvert f_a\rangle \langle f_a\vert e_n\rangle \\ &= \sum_a S_{an}\lvert f_a\rangle. \end{aligned}

The complex conjugation appears in the first formula because ⟨en∣fa⟩=San∗\langle e_n\vert f_a\rangle=S_{an}^*.

Let

∣+y⟩=∣0⟩+i∣1⟩2,∣−y⟩=∣0⟩−i∣1⟩2.\lvert+ y\rangle = \frac{\lvert0\rangle+i\lvert1\rangle}{\sqrt2}, \qquad \lvert- y\rangle = \frac{\lvert0\rangle-i\lvert1\rangle}{\sqrt2}.

Construct the overlap matrix from the zz basis to the yy basis, and find the yy-basis components of ∣ψ⟩=α∣0⟩+β∣1⟩\lvert\psi\rangle=\alpha\lvert0\rangle+\beta\lvert1\rangle.

Solution

The bras are

⟨+y∣=⟨0∣−i⟨1∣2,⟨−y∣=⟨0∣+i⟨1∣2.\begin{aligned} \langle+y\rvert &= \frac{\langle0\rvert-i\langle1\rvert}{\sqrt2}, \\ \langle-y\rvert &= \frac{\langle0\rvert+i\langle1\rvert}{\sqrt2}. \end{aligned}

Therefore

Sy=12(1−i1i).S_y = \frac{1}{\sqrt2} \begin{pmatrix} 1 & -i\\ 1 & i \end{pmatrix}.

Applying d=Sycd=S_yc gives

(d+yd−y)=12(α−iβα+iβ).\begin{pmatrix} d_{+y}\\ d_{-y} \end{pmatrix} = \frac{1}{\sqrt2} \begin{pmatrix} \alpha-i\beta\\ \alpha+i\beta \end{pmatrix}.

For ∣0⟩\lvert0\rangle, both outcomes have probability 1/21/2. The signs of ii would be reversed if the ket coefficients were copied into the overlap rows without complex conjugation.

3. Transform an observable and verify an expectation value

Section titled “3. Transform an observable and verify an expectation value”

Let

AE=(2005),S=12(111−1).A_{\mathcal E} = \begin{pmatrix} 2 & 0\\ 0 & 5 \end{pmatrix}, \qquad S = \frac{1}{\sqrt2} \begin{pmatrix} 1 & 1\\ 1 & -1 \end{pmatrix}.

Find AFA_{\mathcal F} and verify expectation-value invariance for c=(1,i)T/2c=(1,i)^T/\sqrt2.

Solution

Because S=S†S=S^\dagger,

AF=SAES†=(7/2−3/2−3/27/2).\begin{aligned} A_{\mathcal F} &= S A_{\mathcal E}S^\dagger \\ &= \begin{pmatrix} 7/2 & -3/2\\ -3/2 & 7/2 \end{pmatrix}. \end{aligned}

The new state column is

d=Sc=12(1+i1−i).d=Sc = \frac12 \begin{pmatrix} 1+i\\ 1-i \end{pmatrix}.

In the old basis,

c†AEc=2+52=72.c^\dagger A_{\mathcal E}c = \frac{2+5}{2} = \frac72.

For the new state, ∣d+∣2=∣d−∣2=1/2\lvert d_+\rvert^2=\lvert d_-\rvert^2=1/2 and Re⁡(d+∗d−)=0\operatorname{Re}(d_+^*d_-)=0. Hence

d†AFd=72.d^\dagger A_{\mathcal F}d = \frac72.

Let D=diag⁡(1,eiχ)D=\operatorname{diag}(1,e^{i\chi}) rephase the second vector of a new basis. Show how a state column and operator matrix change, and prove that the expectation value is unaffected.

Solution

The rephased overlap matrix is S′=D†SS'=D^\dagger S, so

d′=D†d,A′=D†AD.d'=D^\dagger d, \qquad A'=D^\dagger A D.

In components,

d1′=d1,d2′=e−iχd2,d_1'=d_1, \qquad d_2'=e^{-i\chi}d_2,

while

A12′=eiχA12,A21′=e−iχA21.A_{12}'=e^{i\chi}A_{12}, \qquad A_{21}'=e^{-i\chi}A_{21}.

The phases cancel in the scalar:

d′†A′d′=d†D(D†AD)D†d=d†Ad.\begin{aligned} d'^\dagger A'd' &= d^\dagger D \left(D^\dagger A D\right) D^\dagger d \\ &= d^\dagger A d. \end{aligned}

5. Basis dependence of density-matrix entries

Section titled “5. Basis dependence of density-matrix entries”

For

ρE=(3/4001/4),\rho_{\mathcal E} = \begin{pmatrix} 3/4 & 0\\ 0 & 1/4 \end{pmatrix},

use the Hadamard overlap matrix to find ρF\rho_{\mathcal F}. Compare the off-diagonal entries and verify that the purity is unchanged.

Solution

Direct multiplication gives

ρF=SρES†=(1/21/41/41/2).\rho_{\mathcal F} = S\rho_{\mathcal E}S^\dagger = \begin{pmatrix} 1/2 & 1/4\\ 1/4 & 1/2 \end{pmatrix}.

The old matrix is diagonal, while the new matrix is not. Nevertheless,

Tr⁡(ρE2)=916+116=58,\operatorname{Tr}(\rho_{\mathcal E}^2) = \frac{9}{16}+\frac{1}{16} = \frac58,

and

Tr⁡(ρF2)=14+14+2(116)=58.\operatorname{Tr}(\rho_{\mathcal F}^2) = \frac14+\frac14 + 2\left(\frac1{16}\right) = \frac58.

The eigenvalues remain 3/43/4 and 1/41/4. Off-diagonal entries are basis-dependent; purity is not.

6. Unitarity of the position–momentum kernel

Section titled “6. Unitarity of the position–momentum kernel”

Using

K(p,x)=12πℏe−ipx/ℏ,K(p,x) = \frac{1}{\sqrt{2\pi\hbar}}e^{-ipx/\hbar},

show that

∫−∞∞dp K(p,x)∗K(p,x′)=δ(x−x′).\int_{-\infty}^{\infty}dp\, K(p,x)^*K(p,x') = \delta(x-x').
Solution

The kernel product is

K(p,x)∗K(p,x′)=12πℏeip(x−x′)/ℏ.K(p,x)^*K(p,x') = \frac{1}{2\pi\hbar} e^{ip(x-x')/\hbar}.

The Fourier representation of the delta distribution gives

∫−∞∞dp2πℏeip(x−x′)/ℏ=δ(x−x′).\int_{-\infty}^{\infty} \frac{dp}{2\pi\hbar} e^{ip(x-x')/\hbar} = \delta(x-x').

Substituting this identity into the double integral for ∫dp ∣ϕ(p)∣2\int dp\,\lvert\phi(p)\rvert^2 recovers ∫dx ∣ψ(x)∣2\int dx\,\lvert\psi(x)\rvert^2. This is continuum unitarity in kernel form.

7. Local basis changes and Schmidt coefficients

Section titled “7. Local basis changes and Schmidt coefficients”

Let a bipartite pure state have coefficient matrix CC. Under local basis changes, D=SACSBTD=S_A C S_B^T. Show that DD†DD^\dagger is unitarily similar to CC†CC^\dagger, and infer that the Schmidt coefficients are unchanged.

Solution

Using SBTSB∗=IS_B^T S_B^*=I,

DD†=SACSBT(SACSBT)†=SACSBTSB∗C†SA†=SACC†SA†.\begin{aligned} DD^\dagger &= S_A C S_B^T \left(S_A C S_B^T\right)^\dagger \\ &= S_A C S_B^T S_B^* C^\dagger S_A^\dagger \\ &= S_A CC^\dagger S_A^\dagger. \end{aligned}

Thus DD†DD^\dagger and CC†CC^\dagger have the same eigenvalues. Those eigenvalues are the squared Schmidt coefficients, so local basis changes do not change the Schmidt spectrum or pure-state entanglement entropy.

In a three-dimensional Hilbert space, retain

E2={∣e1⟩,∣e2⟩}\mathcal E_2=\{\lvert e_1\rangle,\lvert e_2\rangle\}

from one basis and

F2={∣e1⟩,∣e3⟩}\mathcal F_2=\{\lvert e_1\rangle,\lvert e_3\rangle\}

from another. Compute the 2×22\times2 overlap matrix and explain why it is not an exact basis change on one common two-dimensional space.

Solution

With rows labelled by F2\mathcal F_2 and columns by E2\mathcal E_2,

S=(1000).S = \begin{pmatrix} 1 & 0\\ 0 & 0 \end{pmatrix}.

Therefore

S†S=(1000)≠I.S^\dagger S = \begin{pmatrix} 1 & 0\\ 0 & 0 \end{pmatrix} \ne I.

The two retained lists span different subspaces: the first contains ∣e2⟩\lvert e_2\rangle, while the second contains ∣e3⟩\lvert e_3\rangle. Mapping a state by d=Scd=Sc discards the ∣e2⟩\lvert e_2\rangle component because that direction lies outside the second retained subspace. The nonunitarity records projection loss, not a failure of the full Hilbert-space basis transformation.