Lean, informalized

Nielsen & Chuang · Chapter 5, The quantum Fourier transform and its applications · p. 244

Problem 5.5 - The reduced query states of two distinct hidden subgroups are nearly orthogonal

Logarithmically many samples separate two hidden subgroups.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The Exercise

A map ff from a finite group GG to a finite set XX hides a subgroup KK of GG when it is constant on each left coset of KK and takes different values on different cosets: f(g1)=f(g2)f(g_1) = f(g_2) exactly when g1K=g2Kg_1 K = g_2 K. The hidden subgroup problem asks for KK, given ff as an oracle.

A quantum algorithm learns about KK by querying ff on a uniform superposition of group elements, mm of them side by side, and then discarding the answers. What is left is a mixed state of the register that holds the mm group elements. The exercise asks how many samples it takes before the states left by two different hidden subgroups are nearly orthogonal.

A Quantum System

A quantum system SS is a physical system whose state space is a finite dimensional complex Hilbert space.✦ The composite system S⊗TS \otimes T of two quantum systems SS and TT is the quantum system whose state space is the tensor product of the state spaces of SS and TT.✦

A state ρ\rho of SS, also called a density operator of SS, is a positive operator of unit trace on the state space of SS.✦ A pure state ψ\psi of SS is a unit vector |ψ⟩|\psi\rangle in the state space of SS, and it determines the state |ψ⟩⟨ψ||\psi\rangle\langle\psi| of SS, the projector onto |ψ⟩|\psi\rangle. Two states ρ\rho and σ\sigma of the same system have as their overlap the real number Re⁡tr⁡(ρσ)\operatorname{Re}\operatorname{tr}(\rho\sigma).✦

The partial trace Tr⁡T(ρ)\operatorname{Tr}_T(\rho) of a state ρ\rho of S⊗TS \otimes T is the state of SS obtained by tracing out TT against an orthonormal basis {|j⟩}\{|j\rangle\} of the state space of TT, with II the identity on the state space of SS, Tr⁡T(ρ)=∑j(I⊗⟨j|)ρ(I⊗|j⟩).\operatorname{Tr}_T(\rho) = \sum_j \bigl(I \otimes \langle j|\bigr)\, \rho\, \bigl(I \otimes |j\rangle\bigr).(1)✦

The Query State

For a finite set YY, the system ℂ[Y]\mathbb{C}[Y] is the quantum system whose state space is the Hilbert space ℂY\mathbb{C}^Y itself, the complex functions on YY with the standard inner product; its orthonormal basis vectors |y⟩|y\rangle are labelled by the elements yy of YY.✦

For a map hh from a finite set YY to a finite set ZZ, the query vector |ψh⟩|\psi_h\rangle is the vector |ψh⟩=1|Y|∑y∈Y|y⟩⊗|h(y)⟩|\psi_h\rangle = \frac{1}{\sqrt{|Y|}} \sum_{y \in Y} |y\rangle \otimes |h(y)\rangle(2)✦ of the composite system ℂ[Y]⊗ℂ[Z]\mathbb{C}[Y] \otimes \mathbb{C}[Z]. The query state ψh\psi_h is the pure state of ℂ[Y]⊗ℂ[Z]\mathbb{C}[Y] \otimes \mathbb{C}[Z] with unit vector |ψh⟩|\psi_h\rangle.✦

Sampling mm group elements at once is a single query of this kind. Write GmG^m for the set of tuples (g1,…,gm)(g_1, \dots, g_m) of elements of GG, one entry for each sample, and fm:Gm→Xmf^m \colon G^m \to X^m for the map that applies ff to every entry, fm(g1,…,gm)=(f(g1),…,f(gm))f^m(g_1, \dots, g_m) = (f(g_1), \dots, f(g_m)). Tracing the answer register ℂ[Xm]\mathbb{C}[X^m] out of the query state of fmf^m leaves the state ρf=Tr⁡Xm(|ψfm⟩⟨ψfm|)\rho_f = \operatorname{Tr}_{X^m}\bigl(|\psi_{f^m}\rangle\langle\psi_{f^m}|\bigr)(3) of ℂ[Gm]\mathbb{C}[G^m].

The Claim

Theorem 1. Let GG be a finite group, XX a finite set, and K≠K′K \neq K' two subgroups of GG, hidden by maps ff and f′f' from GG to XX respectively. If the number mm of samples satisfies 2m≥4|G|42^m \geq 4|G|^4, the reduced states (3) of ff and f′f' have overlap Re⁡tr⁡(ρfρf′)≤12|G|2.\operatorname{Re}\operatorname{tr}\bigl(\rho_f\, \rho_{f'}\bigr) \leq \frac{1}{2|G|^2}.(4)✦

What Is Checked

The claim is stated over the reduced states ρf\rho_f and ρf′\rho_{f'} of (3), partial traces of the query states of fmf^m and f′mf'^{m} on ℂ[Gm]⊗ℂ[Xm]\mathbb{C}[G^m] \otimes \mathbb{C}[X^m], and over their overlap.

The library proves that the query vector (2) is a unit vector, so that the query state is a pure state. It proves that the projector onto a unit vector is a density operator and that the partial trace of a density operator is again one, so that ρf\rho_f and ρf′\rho_{f'} are states of ℂ[Gm]\mathbb{C}[G^m].