Write and . Before measurement, the three controlled-NOT gates map a computational-basis component to
The measured bit is therefore . For , the unnormalized state of the first qubit is
For , it is
Each branch has probability ; after normalization and removal of the irrelevant global phase , the two outputs are
with equal probability. This is probabilistic phase-gate injection.
Start with and a zeroed second register. Apply the coherent construction from part (a)(iv) to obtain
Now run the inverse of the phase-estimation map from part (b) on the two registers. It erases the first label in both branches:
Discarding the zeroed register leaves the required quantum Fourier transform of the superposition. The coherent use of a computed label followed by its inverse is an uncomputation.
The shift acts on a Fourier state as
Thus is an eigenvector of with eigenphase . Apply the unitary part of exact quantum phase estimation for to a zeroed control register and this Fourier state. It writes the eigenphase label coherently:
Let and . The first factor in is
Since , the coefficient of in is
It vanishes when
or, using ,
A unit-modulus solution exists exactly when the right-hand side lies in . The upper bound is automatic, while the lower bound is
Thus exact preparation by one application of is possible precisely when
One may choose so that . Then has no component and, by unitarity, equals up to phase. This is a phase-matched amplitude amplification step.
Choose an integer large enough that
Prepare an ancillary qubit in and declare only to be good. The initial good amplitude of
is . Applying amplitude amplification iterations gives good amplitude
The final state is therefore up to a global phase. Discarding the ancilla prepares exactly; this is exact amplitude amplification.
Normalization gives . Write , with , and set . Define the two Householder reflections
The amplitude amplification iterate preserves and rotates that plane through . Consequently
In particular, iterations raise the success probability to a constant close to one.
For the HHL algorithm to have runtime polynomial in , the Hermitian matrix must be invertible, have a condition number bounded by , and be a sparse matrix with its nonzero entries efficiently accessible by an oracle. The normalized state must also be preparable in time. With precision costs suppressed, these assumptions let HHL prepare, with high probability,
Let be the th one-system marginal of , and put . Contractivity of trace distance under partial trace gives
uniformly in . Because the one-system state space is a compact space, continuity of implies uniform continuity. Hence there is a function such that
for every .
Multipartite superadditivity and additivity now imply
Therefore
which proves the required lower asymptotic semicontinuity of quantum relative entropy argument.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact