Download Lecture 6 Quantum query complexity: Upper bound.

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Double-slit experiment wikipedia , lookup

Quantum dot cellular automaton wikipedia , lookup

Bohr–Einstein debates wikipedia , lookup

Basil Hiley wikipedia , lookup

Renormalization group wikipedia , lookup

Delayed choice quantum eraser wikipedia , lookup

Scalar field theory wikipedia , lookup

Bell test experiments wikipedia , lookup

Quantum electrodynamics wikipedia , lookup

Particle in a box wikipedia , lookup

Quantum decoherence wikipedia , lookup

Quantum field theory wikipedia , lookup

Path integral formulation wikipedia , lookup

Probability amplitude wikipedia , lookup

Measurement in quantum mechanics wikipedia , lookup

Copenhagen interpretation wikipedia , lookup

Hydrogen atom wikipedia , lookup

Density matrix wikipedia , lookup

Quantum dot wikipedia , lookup

Coherent states wikipedia , lookup

Quantum entanglement wikipedia , lookup

Bell's theorem wikipedia , lookup

Many-worlds interpretation wikipedia , lookup

Max Born wikipedia , lookup

Quantum fiction wikipedia , lookup

Symmetry in quantum mechanics wikipedia , lookup

Interpretations of quantum mechanics wikipedia , lookup

EPR paradox wikipedia , lookup

History of quantum field theory wikipedia , lookup

Orchestrated objective reduction wikipedia , lookup

Quantum teleportation wikipedia , lookup

Quantum computing wikipedia , lookup

Canonical quantization wikipedia , lookup

Quantum key distribution wikipedia , lookup

Quantum machine learning wikipedia , lookup

Quantum group wikipedia , lookup

Quantum cognition wikipedia , lookup

T-symmetry wikipedia , lookup

Quantum state wikipedia , lookup

Hidden variable theory wikipedia , lookup

Transcript
Quantum Computing
(Fall 2013)
Instructor: Shengyu Zhang.
Lecture 6 Quantum query complexity: Upper bound.
In this lecture, we’ll first finish the proof for the quantum adversary method as a lower bound
of quantum query complexity. Then we show a matching upper bound, by which we prove
the result that the quantum adversary method is in the same order of the quantum query
complexity.
1. Lower bound: Quantum adversary method
Recall that the quantum query complexity π‘„πœ– (𝑓) is defined as the minimum number of
queries needed for an πœ–-error quantum query algorithm to solve a computational problem on
the worst case input. The best lower bound by the quantum adversary method is
‖𝛀‖
𝐴𝑑𝑣(𝑓) =
max
𝛀≠0:π»π‘’π‘Ÿπ‘šπ‘–π‘‘π‘–π‘Žπ‘› max‖𝛀 ∘ 𝐷𝑖 β€–
𝑖
where 𝐷𝑖 (π‘₯, 𝑦) = 1[π‘₯𝑖 ≠𝑦𝑖 ]. We’ll first finish the proof of the following theorem.
1
π‘„πœ– (𝑓) β‰₯ ( βˆ’ βˆšπœ–(1 βˆ’ πœ–)) 𝐴𝑑𝑣(𝑓)
2
2. Upper bound:
It turns out that the above lower bound is tight. In this section, we’ll show an even strong
result, a quantum query algorithm solving a more general computational task of quantum
state conversion [LMR+11]. Suppose we have a set of pure quantum states {|𝜌π‘₯ βŒͺ: π‘₯ ∈
{0,1}𝑛 } and we’d like to convert them to another set of pure quantum states {|𝜎π‘₯ βŒͺ: π‘₯ ∈
{0,1}𝑛 }. (Usually the Greek letters 𝜌 and 𝜎 are for mixed states, but somehow they are
used in [LMR+11] to denote pure states, and we just respect their notation here.) The
conversion need to be correct for every π‘₯ ∈ {0,1}𝑛 , namely we need to use one universal
algorithm to convert |𝜌π‘₯ βŒͺ to |𝜎π‘₯ βŒͺ for all π‘₯ ∈ {0,1}𝑛 simultaneously. In general this is not
doable without the knowledge of π‘₯, as shown by the following basic result.
Exercise. There is a unitary operation π‘ˆ that converts the states {|𝑒𝑖 βŒͺ: 𝑖 = 1, … , 𝑛} to
{|𝑣𝑖 βŒͺ: 𝑖 = 1, … , 𝑛} if and only if βŒ©π‘’π‘– |𝑒𝑗 βŒͺ = βŒ©π‘£π‘– |𝑣𝑗 βŒͺ for all 𝑖, 𝑗 ∈ [𝑛].
Since this condition doesn’t hold for general {|𝜌π‘₯ βŒͺ: π‘₯ ∈ {0,1}𝑛 } and {|𝜎π‘₯ βŒͺ: π‘₯ ∈ {0,1}𝑛 }. So
we need to get some knowledge of the index π‘₯. (In the extreme case, consider that we have
the full knowledge of π‘₯. Then we don’t even need the given state |𝜌π‘₯ βŒͺ---we can generate
|𝜎π‘₯ βŒͺ by ourselves.) We access π‘₯ by queries as usual. The question is what the minimum
number of queries to π‘₯ is needed. We of course allow the algorithm to take ancilla, so the
algorithm takes as input |𝜌π‘₯ βŒͺ|0βŒͺ and generates a state close to |𝜎π‘₯ βŒͺ|𝑠π‘₯ βŒͺ for some |𝑠π‘₯ βŒͺ. This
generalizes the function evaluation setting, where all |𝜌π‘₯ βŒͺ = |0βŒͺ, and target states is
|𝜎π‘₯ βŒͺ|𝑠π‘₯ βŒͺ = |𝑓(π‘₯)βŒͺ|𝑠π‘₯ βŒͺ for some ancilla |𝑠π‘₯ βŒͺ.
The result is the following:
Theorem. The query complexity of the above state conversion problem is at most
𝑂 ((𝛾2 (π‘€πœŒ βˆ’ π‘€πœŽ |𝐷) log(1/πœ–))/πœ– 2 )
where
ο‚·
π‘€πœŒ = [〈𝜌π‘₯ |πœŒπ‘¦ βŒͺ]π‘₯,𝑦 , π‘€πœŽ = [〈𝜎π‘₯ |πœŽπ‘¦ βŒͺ]π‘₯,𝑦 ,
ο‚·
𝐷 = {𝐷1 , … , 𝐷𝑛 } with 𝐷𝑖 = [1[π‘₯𝑖 ≠𝑦𝑖 ] ]
ο‚·
𝛾2 (𝐴|𝑍) = min {max max {βˆ‘π‘—β€–|𝑒π‘₯𝑗 βŒͺβ€– , βˆ‘π‘—β€–|𝑣π‘₯𝑗 βŒͺβ€– } : 𝐴π‘₯𝑦 = βˆ‘π‘—βŒ©π‘’π‘₯𝑗 |𝑣𝑦𝑗 βŒͺ(𝑍𝑗 )π‘₯𝑦 }
π‘₯,𝑦
,
2
2
π‘₯
For Boolean function evaluation, note that all |𝜌π‘₯ βŒͺ = |0βŒͺ and |𝜎π‘₯ βŒͺ = |𝑓(π‘₯)βŒͺ, thus π‘€πœŒ = 𝐽
and π‘€πœŽ = 𝐹 = [1[𝑓(π‘₯)=𝑓(𝑦)] ]
π‘₯,𝑦
. It turns out that
𝐴𝑑𝑣(𝑓) = 𝛾2 (𝐽 βˆ’ 𝐹|𝐷)
by SDP duality. Thus the above theorem does implies the tightness of 𝐴𝑑𝑣(𝑓) as a lower
bound of the quantum query complexity.
Let π‘Š = 𝛾2 (π‘€πœŒ βˆ’ π‘€πœŽ |𝐷). An optimum solution |𝑒π‘₯𝑗 βŒͺ, |𝑣π‘₯𝑗 βŒͺ in the definition of
𝛾2 (π‘€πœŒ βˆ’ π‘€πœŽ |𝐷) has the following properties by definition
2
2
βˆ‘π‘—β€–|𝑒π‘₯𝑗 βŒͺβ€– ≀ π‘Š, βˆ‘π‘—β€–|𝑣π‘₯𝑗 βŒͺβ€– ≀ π‘Š, βˆ€π‘₯
(1)
βˆ‘π‘—:π‘₯π‘—β‰ π‘¦π‘—βŒ©π‘’π‘₯𝑗 |𝑣𝑦𝑗 βŒͺ = 〈𝜌π‘₯ |πœŒπ‘¦ βŒͺ βˆ’ 〈𝜎π‘₯ |πœŽπ‘¦ βŒͺ (= 1[𝑓(π‘₯)≠𝑓(𝑦)] for Boolean 𝑓)
(2)
Instead of repeating the proof in the usual way, let me try to extract the line of main ideas.
ο‚·
We actually only need to deal with the case 〈𝜌π‘₯ |𝜎π‘₯ βŒͺ = 0, since otherwise we can first
attach a |0βŒͺ to |𝜌π‘₯ βŒͺ, and then transfer it to |1βŒͺ|𝜎π‘₯ βŒͺ, and then discard the |1βŒͺ.
ο‚·
To transfer |0βŒͺ|𝜌π‘₯ βŒͺ to |1βŒͺ|𝜎π‘₯ βŒͺ, it suffices to keep |𝑑π‘₯+ βŒͺ unchanged and flipping
|𝑑π‘₯βˆ’ βŒͺ to βˆ’|𝑑π‘₯βˆ’ βŒͺ, where
|𝑑π‘₯+ βŒͺ =
1
√2
(|0βŒͺ|𝜌π‘₯ βŒͺ + |1βŒͺ|𝜎π‘₯ βŒͺ), and |𝑑π‘₯βˆ’ βŒͺ =
(Indeed, |0βŒͺ|𝜌π‘₯ βŒͺ =
1
√2
(|𝑑π‘₯+ βŒͺ + |𝑑π‘₯βˆ’ βŒͺ) β†’
1
√2
1
√2
(|0βŒͺ|𝜌π‘₯ βŒͺ βˆ’ |1βŒͺ|𝜎π‘₯ βŒͺ).
(|𝑑π‘₯+ βŒͺ βˆ’ |𝑑π‘₯βˆ’ βŒͺ) = |1βŒͺ|𝜎π‘₯ βŒͺ.) So it’s enough
to find a π‘ˆ s.t. |𝑑π‘₯+ βŒͺ is close to the 1-eigenspace and |𝑑π‘₯βˆ’ βŒͺ is close to the
(βˆ’1)-eigenspace.
ο‚·
Actually |𝑑π‘₯βˆ’ βŒͺ doesn’t need to be close to (βˆ’1)-eigenspace. As long as |𝑑π‘₯βˆ’ βŒͺ
doesn’t have a large support on eigenspace of π‘ˆ corresponding to eigenvalue with
small phases, a tool called Phase Detection can move |𝑑π‘₯βˆ’ βŒͺ to close to βˆ’|𝑑π‘₯βˆ’ βŒͺ.
(Namely, as long as π‘ˆ moves most of |𝑑π‘₯βˆ’ βŒͺ’s components, with respect to π‘ˆβ€™s
eigenvectors, away in phase, not necessarily to the same far, the Phase Detection
works.) More specifically, βˆ€π‘ˆ, βˆ€πœƒ βˆ— , there is a circuit 𝑅(π‘ˆ) which, on any
𝑒 π‘–πœƒ -eigenvector |𝛽βŒͺ of π‘ˆ where πœƒ β‰₯ πœƒ βˆ— , has
‖𝑅(π‘ˆ)|𝛽βŒͺ|0𝑏 βŒͺ + |𝛽βŒͺ|0𝑏 βŒͺβ€– < 𝛿.
(3)
Here the number of extra qubits needed is 𝑏 = 𝑂(log(1/𝛿) log(1/πœƒ βˆ— )), and number
of queries of controlled-π‘ˆ and controlled-π‘ˆ † is 𝑂(log(1/𝛿) /πœƒ βˆ— ).
ο‚·
The paper finds such a π‘ˆ, which consists of repeated applications of two reflections.
In what follows, we only consider the Boolean-function evaluation case for simplicity.
Algorithm: Run Phase Detection on unitary π‘ˆπ‘₯ = (2𝛱π‘₯ βˆ’ 𝟏)(2π›₯ βˆ’ 𝟏) and state
|0βŒͺ|𝜌π‘₯ βŒͺ|0𝑏 βŒͺ, with precision πœƒ βˆ— = πœ– 2 /π‘Š and error πœ–.
ο‚·
Suppose that π‘Š = 𝛾2 (𝐽 βˆ’ 𝐹|𝐷), and {|𝑒π‘₯𝑗 βŒͺ, |𝑣π‘₯𝑗 βŒͺ ∈ β„‚π‘š : π‘₯, 𝑗} is an optimal solution
in the definition of 𝛾2.
ο‚·
π›₯ is the projection onto span{|𝛹π‘₯ βŒͺ: π‘₯}βŠ₯, where
|πœ“π‘₯ βŒͺ = (πœ–/βˆšπ‘Š)|t xβˆ’ βŒͺ βˆ’ βˆ‘π‘—|𝑗βŒͺ|1 βˆ’ π‘₯𝑗 βŒͺ|𝑒π‘₯𝑗 βŒͺ.
Note that here we attached another space 𝐻′ = ℂ𝑛+2+π‘š to 𝐻 (where |0βŒͺ|𝜌π‘₯ βŒͺ
originally is), s.t. |𝜌π‘₯ βŒͺ in the specification of the algorithm lives in the 𝐻 part of
𝐻 βŠ• 𝐻′ . So are states |t x± βŒͺ. But |𝛹π‘₯ βŒͺ is in the whole space 𝐻 βŠ• 𝐻′, with the first
term in 𝐻 and second in 𝐻′. Note that 𝐻 βŠ• 𝐻′ is the direct sum, not product.
ο‚·
𝛱π‘₯ requires that when the first register of 𝐻′ is 𝑗, the second register of 𝐻′ be π‘₯𝑗 .
Query complexity: 𝑂̃(W/Ξ΅2 ). Each 2𝛱π‘₯ βˆ’ 𝟏 takes one query, and 2π›₯ βˆ’ 𝟏 doesn’t need
any query.
Correctness:
(Notation: π‘ƒπœƒ is the projection onto the eigenspace of π‘ˆ with eigenphase πœƒ, and similarly
for π‘ƒβ‰€πœƒ . That is, if π‘ˆ = βˆ‘π‘— 𝑒 π‘–πœƒπ‘— |πœƒπ‘— βŒͺβŒ©πœƒπ‘— | is the spectral decomposition of π‘ˆ, then
π‘ƒπœƒ = βˆ‘π‘—:πœƒπ‘—=πœƒ 𝑒 π‘–πœƒπ‘— |πœƒπ‘— βŒͺβŒ©πœƒπ‘— |
ο‚·
and π‘ƒβ‰€πœƒ = βˆ‘π‘—:πœƒπ‘— β‰€πœƒ 𝑒 π‘–πœƒπ‘— |πœƒπ‘— βŒͺβŒ©πœƒπ‘— |. )
|𝑑π‘₯+ βŒͺ is close to a 1-eigenvector of π‘ˆ. More precisely, ‖𝑃0 |𝑑π‘₯+ βŒͺβ€–2 β‰₯ 1 βˆ’ πœ– 2 .
Fact 1. ‖𝑃0 |𝑑π‘₯+ βŒͺβ€–2 β‰₯ 1 βˆ’ πœ– 2 .
[Proof] Actually |𝑑π‘₯+ βŒͺ is in the subspace 𝛱π‘₯ and almost in the subspace π›₯. For the
former, note that |𝑑π‘₯+ βŒͺ is in 𝐻, while 𝛱π‘₯ only has requirement on 𝐻 β€² . For the latter,
directly bounding β€–Ξ”βŠ₯ |𝑑π‘₯+ βŒͺβ€– = β€–π‘ π‘π‘Žπ‘›{|𝛹π‘₯ βŒͺ: 𝑦}|𝑑π‘₯+ βŒͺβ€– is not that obvious:
βŒ©πœ“π‘¦ |𝑑π‘₯+ βŒͺ =
πœ–
βˆšπ‘Š
βŒ©π‘‘π‘¦βˆ’ |𝑑π‘₯+ βŒͺ =
πœ–
2βˆšπ‘Š
1[𝑓(π‘₯)≠𝑓(𝑦)] , but there are many 𝑦’s with 𝑓(𝑦) =
𝑓(π‘₯). Fortunately, one can add a little bit to |𝑑π‘₯+ βŒͺ to cancel out the annoying factor:
πœ–
πœ–
β€² βŒͺ
β€² βŒͺ
Define |𝑑π‘₯+
= |𝑑π‘₯+ βŒͺ + 2βˆšπ‘Š βˆ‘π‘—|𝑗βŒͺ|π‘₯𝑗 βŒͺ|𝑣π‘₯𝑗 βŒͺ, then βŒ©πœ“π‘¦ |𝑑π‘₯+
= 2βˆšπ‘Š (1[𝑓(π‘₯)≠𝑓(𝑦)] βˆ’
β€² βŒͺ
βˆ‘π‘—:π‘₯π‘—β‰ π‘¦π‘—βŒ©π‘’π‘₯𝑗 |𝑣𝑦𝑗 βŒͺ) = 0 by Eq.(2). And note that the extra term in |𝑑π‘₯+
is of (πœ–/
β€² βŒͺ
2)-small norm because of Eq.(1). (Also note that |𝑑π‘₯+
is still in the subspace 𝛱π‘₯
because the extra term exactly satisfies the requirement of 𝛱π‘₯ .)
β–‘
ο‚·
|𝑑π‘₯βˆ’ βŒͺ has a small support on small-eigenvectors of π‘ˆ.
Fact 2. β€–π‘ƒβ‰€πœƒ |𝑑π‘₯βˆ’ βŒͺβ€–2 ≀ πœƒ 2 π‘Š 2 /4πœ– 2 , βˆ€ΞΈ.
[Proof] We’ll use a spectral gap lemma that is frequently used in one form or another.
Lemma. Suppose 𝛱 and π›₯ are two projections, and π‘ˆ = (2𝛱 βˆ’ 𝟏)(2π›₯ βˆ’ 𝟏).
Suppose that {|πœ™πœƒ βŒͺ} is a complete orthonormal set of eigenvectors of π‘ˆ, with the
respective eigenvalues 𝑒 π‘–πœƒ . For any vector |πœ”βŒͺ, if Ξ”|Ο‰βŒͺ = 0, then for any πœƒ βˆ— β‰₯ 0,
β€–π‘ƒβ‰€πœƒβˆ— 𝛱|πœ”βŒͺβ€– ≀
πœƒβˆ—
2
β€–|πœ”βŒͺβ€–.
We’ll skip the proof of the lemma, and state how to use it to prove Fact 2. The
application is very straightforward by setting |πœ”βŒͺ =
βˆšπ‘Š
|πœ“π‘₯ βŒͺ.
πœ–
Note that π›₯|πœ”βŒͺ = 0
and |𝑑π‘₯βˆ’ βŒͺ = 𝛱π‘₯ |πœ”βŒͺ by definition of π›₯ and 𝛱π‘₯ , respectively. β–‘
Now putting the above two together, we can show the correctness of the algorithm.
‖𝑅(π‘ˆπ‘₯ )|0βŒͺ|𝜌π‘₯ βŒͺ βˆ’ |1βŒͺ|𝜎π‘₯ βŒͺβ€– = ‖𝑅(π‘ˆπ‘₯ )|0βŒͺ|𝜌π‘₯ βŒͺ|0𝑏 βŒͺ βˆ’ |1βŒͺ|𝜎π‘₯ βŒͺ|0𝑏 βŒͺβ€–
=
≀
1
√2
1
√2
β€–(𝑅(π‘ˆπ‘₯ ) βˆ’ 1)|𝑑π‘₯+ βŒͺ|0𝑏 βŒͺ βˆ’ (𝑅(π‘ˆπ‘₯ ) + 1)|𝑑π‘₯βˆ’ βŒͺ|0𝑏 βŒͺβ€–
β€–(𝑅(π‘ˆπ‘₯ ) βˆ’ 1)|𝑑π‘₯+ βŒͺ|0𝑏 βŒͺβ€– +
1
√2
β€–(𝑅(π‘ˆπ‘₯ ) + 1)|𝑑π‘₯βˆ’ βŒͺ|0𝑏 βŒͺβ€–
We use Fact 1 to bound the item 1, and use Eq.(3) and Fact 2 to bound item 2.
Reference
[LMR+11] Troy Lee, Rajat Mittal, Ben Reichardt, Robert Spalek, Mario Szegedy, Quantum
query complexity of state conversion, FOCS’11.