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,
Normalization gives . Write , with , and set . Define the two Householder reflectionsThe amplitude amplification iterate preserves and rotates that plane through . ConsequentlyIn particular, iterations raise the success probability to a constant close to one.
Choose an integer large enough thatPrepare an ancillary qubit in and declare only to be good. The initial good amplitude ofis . Applying amplitude amplification iterations gives good amplitudeThe final state is therefore up to a global phase. Discarding the ancilla prepares exactly; this is exact amplitude amplification.
Let and . The first factor in isSince , the coefficient of in isIt vanishes whenor, using ,A unit-modulus solution exists exactly when the right-hand side lies in . The upper bound is automatic, while the lower bound isThus exact preparation by one application of is possible precisely whenOne may choose so that . Then has no component and, by unitarity, equals up to phase. This is a phase-matched amplitude amplification step.
Articles by others on the same topic
There are currently no matching articles.