It’s a funny thing about looking for things. If you hunt for a needle in a haystack you don’t find it. If you don’t give a darn whether you ever see the needle or not it runs into you the first time you lean against the stack.

P. G. Wodehouse, English comic writer in “Extricating Young Gussie”

Chapter 10Quantum Search

In Chapter 9, Alice in Quantumland—Quantum Cryptography, you saw how a circuit that essentially duplicates back-to-back quantum gates collapses qubits to their original states thereby permitting recovery of a secret message. Quantum effects get even more tantalizing when applied to applications such as the optimal routing of airliners, detecting the presence of cancer cells in medical images, or even simply making you rent ...

Get Quantum Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.