Quantum Circuit Proof Notes

I'm going through some lecture notes on quantum computing by Childs. The lecture notes are dense, so I'm rewriting the formulas and adding personal notes to help me understand. On a quantum computer, any unitary operation can be applied to qubits, in theory. This section deals with approximating arbitrary unitary gates.

Preliminaries

A unitary gate corresponds to a unitary matrix: any matrix that meets the following condition.

effecient-universality-of-quantum-circuits_802791703553b1fbb92c7d364c32468404163b7c.png 1

The adjoint of a unitary gate is its own inverse.

A list of equivalent conditions is availiable on Wikipedia.

Conveniently, the determinent of a unitary matrix is always effecient-universality-of-quantum-circuits_6a99901221b254f5beac21fca073c5f895ce2939.png.

effecient-universality-of-quantum-circuits_916b52bbe4509a73a41b8a33a1fbb9302fb632f3.png 2

In the context of quantum computing, this is easy to remember. The application of any quantum circuit starts and ends with a normalized ket, effecient-universality-of-quantum-circuits_66f913930f027eace51667650ad44b7811def711.png. The ket must be normalized, a unit vector, for the sum of all outcome probablities to equal effecient-universality-of-quantum-circuits_6a99901221b254f5beac21fca073c5f895ce2939.png, unity. Knowing this, it's easy to remember that any quantum circuit must take a normalized input ket to a normalized output ket. A matrix with a determenent of effecient-universality-of-quantum-circuits_6a99901221b254f5beac21fca073c5f895ce2939.png is guranteed to preserve the magnitude of its input vector. This is a bit confusing; I've mixed around cause and effect, but it does make it easy to remember that unitary gates have a determenent of effecient-universality-of-quantum-circuits_6a99901221b254f5beac21fca073c5f895ce2939.png.

Subadditivity of Errors

On an actual quantum computer, actual gate operations are only approximations of ideal gate operations. Unitarity is guranteed, but there will be some error. We can define the error as the determinent of the difference between some desired gate matrix effecient-universality-of-quantum-circuits_3fd534709cfc05a393862ee9eddfc2976b699672.png and an actual gate matrix effecient-universality-of-quantum-circuits_2bb20d3301541fd350742de95b662245c4003f37.png: that is effecient-universality-of-quantum-circuits_d0bc19ed0d657d6eb43c8b339d905dc7cf700fac.png. If we have a threshold effecient-universality-of-quantum-circuits_eddcaec79aecdaa97338ab3ca2841a498b290e96.png, then our approximation is fine so long as effecient-universality-of-quantum-circuits_49ece3cc4099c2a4e18f1ef9beddfccf98a0bffb.png.

It is of great interest how the error rate of multiple operations grow. We will prove that the error rate of a sequence of gates within the error threshold is at most the sum of each gate's error rate:

effecient-universality-of-quantum-circuits_da9763ec2517e4b954d12ac62eb9ee6e515b73ff.png 3

The proof is by induction.

In the base case, effecient-universality-of-quantum-circuits_bcf675cb7566d25e0908bb699b573306cceffebf.png. This is trivial.

effecient-universality-of-quantum-circuits_6107d47149a8690c0ce6a1eba0670f3c2cc23f42.png 4

The recursive case:

effecient-universality-of-quantum-circuits_cc8314465422d816d1e016afe00394a881ef2ae7.png 5

We can add in these terms because they add to zero.

effecient-universality-of-quantum-circuits_424e3022931c65fbae393961261ab2b1f8a64ee3.png 6

By the triangle inequality, we know that the sum of the magnitudes is less than or equal to the magnitude of the sum; the sum of a triangles two shortest sides can only be as long as the longest side.

effecient-universality-of-quantum-circuits_ea1e5bb7d07909a52c31715da8023276c9c6dbe2.png 7

We can factor some terms.

effecient-universality-of-quantum-circuits_652f5eeddcbc532c6854688944cf84b468e9c208.png 8

Now remember that A and B are both guranteed to be unitary. They both have a deteriment of 1. Fortunately, the determinent of products is the product of determinents: || AB || = || A || || B ||.

effecient-universality-of-quantum-circuits_05f1f963ffbae155991040e87aa39dc73075d509.png 9

So we have our recursive case:

effecient-universality-of-quantum-circuits_d3066e3430f8f5e282590d6478a23b1d057fd68a.png 10

This shows a linear error growth.

Examples

To drive this home, here's a concrete example with a three gate system.

Suppose we have an ideal program:

effecient-universality-of-quantum-circuits_c7278e5b7905e9cdce20082ed4d2e71b565ff47e.png 11

And an actual program:

effecient-universality-of-quantum-circuits_b0c07d5e737b6a459d2ddc6d49696f15b7d00e44.png 12

We assume each gate is within some known error bound.

effecient-universality-of-quantum-circuits_408542f957e5e576b801447730e6ea5632238e44.png 13
effecient-universality-of-quantum-circuits_81aaa9b8b4ea3fd4fb37a0d789713e67074804a7.png 14
effecient-universality-of-quantum-circuits_e11c039b0ddc2d854c3cde4e970d67a62560bf5a.png 15

Now lets expand our program's error rate and see what we get:

effecient-universality-of-quantum-circuits_ae7c4623882c8928bd22c2c159b3556e0f196652.png 16

Let's expand the 2 gate program:

effecient-universality-of-quantum-circuits_7eea213ec5cd9d7e899b3f67263b76ab07367a13.png 17

If we combine the two equations, we see that the error rate of our entire program is less than or equal to the sum of the individual gate error rates.

effecient-universality-of-quantum-circuits_00ad5cc0db2280d0e1196d19d0d1916bb89864fb.png 18

This is what was expected. Awesome!

Constructing Qubits

This is under construction.