Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Geometric Complexity and Optimal Paths

    A continuously adjustable gate traces a path through transformations. Assigning a speed to each infinitesimal operation turns preparation into a shortest-path problem. The speed is part of the definition: two different metrics can give different costs even when the optimal path happens to be the same.

    Preparation: Circuit costs, matrix exponentials, and variational calculus. The path parameter s∈[0,1]s\in[0,1] labels circuit progress; it is not physical time unless a control model makes that identification.

    From controls to length

    Let MIM_I be fixed Hermitian generators and define real controls by

    U˙(s)=−iYI(s)MIU(s),U(0)=I.\dot U(s)=-iY^I(s)M_IU(s),\qquad U(0)=I.

    Thus U˙U−1=−iYIMI\dot U U^{-1}=-iY^IM_I is the right-translated velocity. A positive homogeneous cost FF defines

    L[U]=∫01ds F(Y(s)),C=inf⁡U allowedL[U].L[U]=\int_0^1 ds\,F(Y(s)),\qquad C=\inf_{U\ \mathrm{allowed}}L[U].

    For unitary synthesis, the endpoint is a prescribed UTU_T. For state preparation, any endpoint satisfying U(1)∣ψR⟩=eiχ∣ψT⟩U(1)|\psi_R\rangle=e^{i\chi}|\psi_T\rangle is allowed. Transformations stabilizing the reference therefore create endpoint freedom.

    Two common choices, with positive weights pIp_I, are

    F1(Y)=∑I∣YI∣,F2,p(Y)=∑IpI(YI)2.F_1(Y)=\sum_I|Y^I|,\qquad F_{2,p}(Y)=\sqrt{\sum_I p_I(Y^I)^2}.

    The generator normalization must accompany the weights. Replacing MIM_I by a multiple while leaving the coefficient norm unchanged changes the assigned cost of the same physical control. Positive homogeneity makes length independent of an increasing reparameterization of ss. It does not make a minimum physical duration independent of amplitude bounds.

    The relation to a discrete gate count is conditional. If every elementary gate has an admissible connecting path of length at most one, concatenating those paths gives a continuous distance no larger than the number of gates. Equality does not follow. Nielsen, §II.3, makes this lower-bound criterion explicit.

    Vary the quadratic metric

    Take a positive constant matrix GIJG_{IJ} and F22=GIJYIYJF_2^2=G_{IJ}Y^IY^J. For an affinely parameterized geodesic, it is convenient to vary the energy

    E[U]=12∫01ds GIJYIYJ.E[U]=\frac12\int_0^1ds\,G_{IJ}Y^IY^J.

    At fixed parameter interval, its minimum is one-half the squared minimum length; a length-minimizing curve can be parameterized at constant speed to attain that relation.

    Write the Lie brackets as [MI,MJ]=ifIJKMK[M_I,M_J]=if_{IJ}{}^K M_K. An endpoint-fixed variation has δUU−1=−iηKMK\delta U U^{-1}=-i\eta^K M_K, with η(0)=η(1)=0\eta(0)=\eta(1)=0. Differentiation gives

    δYL=η˙L+fKILηKYI.\delta Y^L=\dot\eta^L+f_{KI}{}^L\eta^K Y^I.

    Set ΠK=GKJYJ\Pi_K=G_{KJ}Y^J. After integration by parts,

    δE=∫01ds [−Π˙K+fKILYIΠL]ηK.\delta E=\int_0^1ds\, \left[-\dot\Pi_K+f_{KI}{}^L Y^I\Pi_L\right]\eta^K.

    Hence the right-invariant Euler equation in these conventions is

    Π˙K=fKILYIΠL.\dot\Pi_K=f_{KI}{}^L Y^I\Pi_L.

    For a state endpoint, one must additionally vary the allowed stabilizer directions at s=1s=1; the boundary momentum must annihilate those tangent directions. A stationary solution with fixed endpoints need not minimize the state cost globally. Penalties and noncommuting controls can create competing paths, and the nonsmooth F1F_1 norm requires its own variational treatment at zero components.

    A complete two-mode problem

    Consider two independent bosonic modes with [qj,pk]=iδjk[q_j,p_k]=i\delta_{jk}. Use only the commuting squeeze generators

    Dj=12(qjpj+pjqj),U(r1,r2)=exp⁡[−i(r1D1+r2D2)].D_j=\frac12(q_jp_j+p_jq_j),\qquad U(r_1,r_2)=\exp[-i(r_1D_1+r_2D_2)].

    Since [Dj,qj]=−iqj[D_j,q_j]=-iq_j, their Heisenberg action is

    U†qjU=erjqj,U†pjU=e−rjpj.U^\dagger q_jU=e^{r_j}q_j,\qquad U^\dagger p_jU=e^{-r_j}p_j.

    Starting from the product vacuum of frequency one, the target covariance is

    ΓT=12diag⁡(e2r1,e2r2,e−2r1,e−2r2),\Gamma_T=\frac12\operatorname{diag} (e^{2r_1},e^{2r_2},e^{-2r_1},e^{-2r_2}),

    in position-first ordering. The coordinates rjr_j are real and have no periodic identification. For any path ending at rTr_T, the triangle inequality gives

    ∫01F(r˙) ds≥F ⁣(∫01r˙ ds)=F(rT).\int_0^1F(\dot r)\,ds \geq F\!\left(\int_0^1\dot r\,ds\right)=F(r_T).

    The straight path r(s)=srTr(s)=sr_T attains this bound for either norm. This proves the global minimum within the declared commuting gate family, without inferring it merely from the geodesic equation.

    Take rT=(0.6,−0.8)r_T=(0.6,-0.8). Then

    SpeedMinimum cost
    r˙12+r˙22\sqrt{\dot r_1^2+\dot r_2^2}11
    ∣r˙1∣+∣r˙2∣\lvert\dot r_1\rvert+\lvert\dot r_2\rvert1.41.4
    r˙12+4r˙22\sqrt{\dot r_1^2+4\dot r_2^2}2.92≃1.7088\sqrt{2.92}\simeq1.7088

    For F2F_2, squeezing the two modes sequentially instead costs 0.6+0.8=1.40.6+0.8=1.4, whereas simultaneous constant controls cost one. Under F1F_1, every coordinate-monotone route with no backtracking has the same length 1.41.4. Thus the minimum need not have a unique path, even in an elementary model.

    The covariance itself supplies an endpoint check: the two position variances become e1.2/2e^{1.2}/2 and e−1.6/2e^{-1.6}/2, and each position-momentum variance product remains 1/41/4. Cost has changed between the rows, but the prepared state has not.

    Which Gaussian group is being used

    The commuting example can be enlarged to real linear transformations of NN positions,

    q⟼Aq,p⟼A−Tp,A∈GL+(N,R).q\longmapsto Aq,\qquad p\longmapsto A^{-T}p, \qquad A\in\mathrm{GL}^{+}(N,\mathbb R).

    Here the superscript means positive determinant, the identity component. With W=A˙A−1W=\dot A A^{-1}, we will use F2=tr⁡WWTF_2=\sqrt{\operatorname{tr}WW^T}. This group preserves the canonical commutator and real Gaussian wavefunctions with no position-momentum correlations. It is a proper subgroup of the full symplectic transformations. Equal weights and an isotropic reference will allow a global solution on the next page; that solution does not cover arbitrary penalties or additional gate families.

    Worked exercises

    1. Transform a penalty when a generator is rescaled

    One generator has speed cost p ∣Y∣\sqrt p\,|Y|. Replace MM by M′=2MM'=2M while describing the same instantaneous Hamiltonian. What weight preserves the cost?

    Solution

    The same control is YM=Y′M′YM=Y'M' with Y′=Y/2Y'=Y/2. Requiring p′∣Y′∣=p∣Y∣\sqrt{p'}|Y'|=\sqrt p|Y| gives p′=4pp'=4p. Keeping p′=pp'=p would halve the cost by a notational change. For an F1F_1 weight multiplying ∣Y∣|Y|, the corresponding weight must double instead.

    2. Separate length from integrated squared speed

    For a single squeeze endpoint rr, compare the paths r(s)=rsr(s)=rs and r(s)=rs2r(s)=rs^2 using both ∫∣r˙∣ds\int|\dot r|ds and ∫r˙2ds\int\dot r^2ds.

    Solution

    Both monotone paths have length ∣r∣|r|. Their integrated squared speeds are r2r^2 and

    ∫01(2rs)2ds=43r2.\int_0^1(2rs)^2ds=\frac43r^2.

    The second functional depends on parameterization. Cauchy–Schwarz gives ∫r˙2ds≥r2\int\dot r^2ds\geq r^2 on this unit interval, with equality for constant speed. On an interval of duration TT, the minimum squared-speed integral becomes r2/Tr^2/T, while length remains ∣r∣|r|.

    3. Derive the unpenalized SU(2)\mathrm{SU}(2) Euler equation

    Take Mi=σi/2M_i=\sigma_i/2 and Gij=δijG_{ij}=\delta_{ij}. Show that the velocity of an affinely parameterized stationary path is constant. Explain what this establishes.

    Solution

    The structure constants are fijk=ϵijkf_{ij}{}^k=\epsilon_{ijk}. Thus

    Y˙k=ϵkiℓYiYℓ=0,\dot Y_k=\epsilon_{ki\ell}Y_iY_\ell=0,

    because the product is symmetric in i,ℓi,\ell. Stationary paths are one-parameter subgroups U(s)=exp⁡[−isYiσi/2]U(s)=\exp[-isY_i\sigma_i/2]. This does not select the shortest logarithm for a given group endpoint, nor the endpoint within a state-preparation stabilizer class. Those global questions remain after solving the local equation.

    Where this leads

    Gaussian-state complexity proves the minimum in the stated real Gaussian group and evaluates it for an eight-site scalar chain. It also shows why changing the gate basis can preserve F2F_2 while changing an entrywise F1F_1 cost.

    References

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.