8

Two Qubits, Three

Not only is the Universe stranger than we think, it is stranger than we can think.

Werner Heisenberg 107

In the previous chapter, we defined qubits and saw what we could do with just one of them. Things now start to get exponential with every additional qubit added because entanglement allows the size of the working state space to double.

This chapter is about how multiple qubits can behave together and then building a collection of tools to manipulate those qubits. These include the concept of entanglement, a requirement for quantum computing. We also examine important 2-qubit gates such as CNOT and SWAP. This will lead us into Chapter 9, “Wiring Up the Circuits,” and Chapter 10, “From Circuits to Algorithms,” where ...

Get Dancing with Qubits - Second Edition 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.