Tracking Quantum Circuits By Polynomials

Size: px
Start display at page:

Download "Tracking Quantum Circuits By Polynomials"

Transcription

1 Tracking Quantum Circuits By Polynomials ACSS 2016, Kolkata Kenneth W. Regan 1 University at Buffalo (SUNY) 13 August, Includes joint work with Amlan Chakrabarti, U. Calcutta, and prospectively students...

2 Quantum Computers

3 Quantum Computers A Particular Wave of the Future...

4 Quantum Computers A Particular Wave of the Future... Apparently capable of out-performing current computers vastly at certain tasks...

5 Quantum Computers A Particular Wave of the Future... Apparently capable of out-performing current computers vastly at certain tasks most notably Factoring, Discete Logarithm, and simulating quantum systems.

6 Quantum Computers A Particular Wave of the Future... Apparently capable of out-performing current computers vastly at certain tasks most notably Factoring, Discete Logarithm, and simulating quantum systems. If, that is, we can build them scalably,

7 Quantum Computers A Particular Wave of the Future... Apparently capable of out-performing current computers vastly at certain tasks most notably Factoring, Discete Logarithm, and simulating quantum systems. If, that is, we can build them scalably, and if those tasks are not classically easy.

8 Quantum Computers A Particular Wave of the Future... Apparently capable of out-performing current computers vastly at certain tasks most notably Factoring, Discete Logarithm, and simulating quantum systems. If, that is, we can build them scalably, and if those tasks are not classically easy. Central notion: Quantum Circuits.

9 Quantum Computers A Particular Wave of the Future... Apparently capable of out-performing current computers vastly at certain tasks most notably Factoring, Discete Logarithm, and simulating quantum systems. If, that is, we can build them scalably, and if those tasks are not classically easy. Central notion: Quantum Circuits. Hardly the only player quantum adiabatic machines are closer to built and quantum communication systems are already deployed.

10 Boolean Circuits Have...

11 Boolean Circuits Have... n inputs x 1,..., x n {0, 1} n

12 Boolean Circuits Have... n inputs x 1,..., x n {0, 1} n r 1 outputs z 1,..., z r

13 Boolean Circuits Have... n inputs x 1,..., x n {0, 1} n r 1 outputs z 1,..., z r Maybe h-many nondeterministic inputs y 1,..., y h?

14 Boolean Circuits Have... n inputs x 1,..., x n {0, 1} n r 1 outputs z 1,..., z r Maybe h-many nondeterministic inputs y 1,..., y h? m gates g 1,..., g m (wlog. all NAND)

15 Boolean Circuits Have... n inputs x 1,..., x n {0, 1} n r 1 outputs z 1,..., z r Maybe h-many nondeterministic inputs y 1,..., y h? m gates g 1,..., g m (wlog. all NAND) Up to 2m + r wires (if fan-in 2)

16 Boolean Circuits Have... n inputs x 1,..., x n {0, 1} n r 1 outputs z 1,..., z r Maybe h-many nondeterministic inputs y 1,..., y h? m gates g 1,..., g m (wlog. all NAND) Up to 2m + r wires (if fan-in 2) Each wire has a definite 0-1 value.

17 Boolean Circuits Have... n inputs x 1,..., x n {0, 1} n r 1 outputs z 1,..., z r Maybe h-many nondeterministic inputs y 1,..., y h? m gates g 1,..., g m (wlog. all NAND) Up to 2m + r wires (if fan-in 2) Each wire has a definite 0-1 value. Bits have no common identity across wires, but we can create a universal layout for Boolean circuits in which they do retain identity...

18 Turing Cue Bits Space s, so n s ancillary cells.

19 Turing Cue Bits Space s, so n s ancillary cells. Can also be made reversible.

20 Quantum Circuits: similar picture, 90 flipped.

21 Quantum Circuits: similar picture, 90 flipped. Must be reversible. In certain circumstances values y 1, y 2,... can be copied to extra lines as f(x). Then reversing the gates re-creates the input x so the whole mapping is invertible ( copy-uncompute trick ).

22 Quantum Circuits Have...

23 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n

24 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n (What s a qubit?)

25 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n (What s a qubit?) r 1 output qubits z 1,..., z r (think r = 1 or r = n)

26 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n (What s a qubit?) r 1 output qubits z 1,..., z r (think r = 1 or r = n) s n ancilla qubits

27 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n (What s a qubit?) r 1 output qubits z 1,..., z r (think r = 1 or r = n) s n ancilla qubits m-many quantum gates (arities can be 1,2,3)

28 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n (What s a qubit?) r 1 output qubits z 1,..., z r (think r = 1 or r = n) s n ancilla qubits m-many quantum gates (arities can be 1,2,3) Maybe h of them are Hadamard gates, which supply nondeterminism.

29 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n (What s a qubit?) r 1 output qubits z 1,..., z r (think r = 1 or r = n) s n ancilla qubits m-many quantum gates (arities can be 1,2,3) Maybe h of them are Hadamard gates, which supply nondeterminism. Qubits retain identity as wires transit gates.

30 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n (What s a qubit?) r 1 output qubits z 1,..., z r (think r = 1 or r = n) s n ancilla qubits m-many quantum gates (arities can be 1,2,3) Maybe h of them are Hadamard gates, which supply nondeterminism. Qubits retain identity as wires transit gates. Each wire need not have a definite 0-1 value, owing to entanglement.

31 Quantum Circuits Have... n input qubits x 1,..., x n {0, 1} n (What s a qubit?) r 1 output qubits z 1,..., z r (think r = 1 or r = n) s n ancilla qubits m-many quantum gates (arities can be 1,2,3) Maybe h of them are Hadamard gates, which supply nondeterminism. Qubits retain identity as wires transit gates. Each wire need not have a definite 0-1 value, owing to entanglement. Under the hood are S = 2 s complex entries of a unit state vector.

32 A Qubit

33 A Qubit A qubit is a physical entity that combines as described by a 2-vector (a, b) = ae 0 + be 1 over C and yields two observations: e 0 with probability a 2 or e 1 with probability b 2.

34 A Qubit A qubit is a physical entity that combines as described by a 2-vector (a, b) = ae 0 + be 1 over C and yields two observations: e 0 with probability a 2 or e 1 with probability b 2. A qutrit yields 3 results and is (a, b, c) where a 2 + b 2 + c 2 = 1.

35 Quantum Gates

36 Quantum Gates A k-ary gate can be represented by a K K unitary matrix, K = 2 k.

37 Quantum Gates A k-ary gate can be represented by a K K unitary matrix, K = 2 k. Common gates for k = 1, K = 2:

38 Quantum Gates A k-ary gate can be represented by a K K unitary matrix, K = 2 k. Common gates for k = 1, K = 2: [ ] 1 0 I = identity 0 1

39 Quantum Gates A k-ary gate can be represented by a K K unitary matrix, K = 2 k. Common gates for k = 1, K = 2: [ ] 1 0 I = identity 0 1 [ ] 0 1 X = negation, aka. NOT 1 0

40 Quantum Gates A k-ary gate can be represented by a K K unitary matrix, K = 2 k. Common gates for k = 1, K = 2: [ ] 1 0 I = identity 0 1 [ ] 0 1 X = negation, aka. NOT 1 0 [ ] H = Hadamard gate. 1 1

41 Quantum Gates A k-ary gate can be represented by a K K unitary matrix, K = 2 k. Common gates for k = 1, K = 2: [ ] 1 0 I = identity 0 1 [ ] 0 1 X = negation, aka. NOT 1 0 [ ] H = Hadamard gate. 1 1 Only non-permutation gate needed for universality.

42 Quantum Gates A k-ary gate can be represented by a K K unitary matrix, K = 2 k. Common gates for k = 1, K = 2: [ ] 1 0 I = identity 0 1 [ ] 0 1 X = negation, aka. NOT 1 0 [ ] H = Hadamard gate. 1 1 Only non-permutation gate needed for universality. [ ] [ ] [ ] 0 i But also common: Y =, Z =, S =. i i

43 Binary Gates With k = 2 qubits, K = 4. Controlled Not showing quantum coordinates: CNOT =

44 Binary Gates With k = 2 qubits, K = 4. Controlled Not showing quantum coordinates: CNOT = Permutation ( ),

45 Binary Gates With k = 2 qubits, K = 4. Controlled Not showing quantum coordinates: CNOT = Permutation ( ), swap (3 4).

46 Binary Gates With k = 2 qubits, K = 4. Controlled Not showing quantum coordinates: CNOT = Permutation ( ), swap (3 4). Also called CX.

47 Binary Gates With k = 2 qubits, K = 4. Controlled Not showing quantum coordinates: CNOT = Permutation ( ), swap (3 4). Also called CX CNOT (H I) =

48 Binary Gates With k = 2 qubits, K = 4. Controlled Not showing quantum coordinates: CNOT = Permutation ( ), swap (3 4). Also called CX CNOT (H I) = Applied to e 00 = (1, 0, 0, 0) T gives 1 2 (e 00 + e 11 ).

49 Binary Gates With k = 2 qubits, K = 4. Controlled Not showing quantum coordinates: CNOT = Permutation ( ), swap (3 4). Also called CX CNOT (H I) = Applied to e 00 = (1, 0, 0, 0) T gives 1 2 (e 00 + e 11 ). EPR Entanglement.

50 Ternary Toffoli Gate: K = 8

51 Ternary Toffoli Gate: K = 8 TOF = diag(1, 1, 1, 1, 1, 1), then [ ]

52 Ternary Toffoli Gate: K = 8 TOF = diag(1, 1, 1, 1, 1, 1), then [ ] Fixes 000,..., 101; swaps

53 Ternary Toffoli Gate: K = 8 TOF = diag(1, 1, 1, 1, 1, 1), then [ ] Fixes 000,..., 101; swaps Control-Control-NOT, hence also called CCX.

54 Ternary Toffoli Gate: K = 8 TOF = diag(1, 1, 1, 1, 1, 1), then [ ] Fixes 000,..., 101; swaps Control-Control-NOT, hence also called CCX. TOF(a, b, 1) = (,, a NAND b), Thus TOF is classically universal.

55 Ternary Toffoli Gate: K = 8 TOF = diag(1, 1, 1, 1, 1, 1), then [ ] Fixes 000,..., 101; swaps Control-Control-NOT, hence also called CCX. TOF(a, b, 1) = (,, a NAND b), Thus TOF is classically universal. H + TOF is quantum universal.

56 Ternary Toffoli Gate: K = 8 TOF = diag(1, 1, 1, 1, 1, 1), then [ ] Fixes 000,..., 101; swaps Control-Control-NOT, hence also called CCX. TOF(a, b, 1) = (,, a NAND b), Thus TOF is classically universal. H + TOF is quantum universal. H + CNOT is not quantum universal; it recognizes a proper subclass of P.

57 Example Quantum Circuit

58 Example Quantum Circuit 1 H I H I (s 3).

59 Example Quantum Circuit 1 H I H I (s 3). 2 CNOT I (s 2). First three lines have CXI.

60 Example Quantum Circuit 1 H I H I (s 3). 2 CNOT I (s 2). First three lines have CXI. 3 CIX semantically but not syntactically of I and CNOT.

61 Example Quantum Circuit 1 H I H I (s 3). 2 CNOT I (s 2). First three lines have CXI. 3 CIX semantically but not syntactically of I and CNOT. 4 After the S in stage 4, a TOF with controls on 1,3 and target on 2. The whole C computes a unitary U C.

62 Input-Output and Measurement

63 Input-Output and Measurement Input: E x = e x0 s n

64 Input-Output and Measurement Input: E x = e x0 s n = e x1 e x2 e xn e (s n) 0.

65 Input-Output and Measurement Input: E x = e x0 s n = e x1 e x2 e xn e (s n) 0. Output: A state vector (z 0,..., z S 1 ), S = 2 s.

66 Input-Output and Measurement Input: E x = e x0 s n = e x1 e x2 e xn e (s n) 0. Output: A state vector (z 0,..., z S 1 ), S = 2 s. Measure all lines: For any outcome b {0, 1} s, Pr[C(x) b] = z b 2 = E x U C e b 2.

67 Input-Output and Measurement Input: E x = e x0 s n = e x1 e x2 e xn e (s n) 0. Output: A state vector (z 0,..., z S 1 ), S = 2 s. Measure all lines: For any outcome b {0, 1} s, Pr[C(x) b] = z b 2 = E x U C e b 2. (Show how DavyW applet does this.)

68 Input-Output and Measurement Input: E x = e x0 s n = e x1 e x2 e xn e (s n) 0. Output: A state vector (z 0,..., z S 1 ), S = 2 s. Measure all lines: For any outcome b {0, 1} s, Pr[C(x) b] = z b 2 = E x U C e b 2. (Show how DavyW applet does this.) For outcome d {0, 1} r on r-many designated qubit lines, Pr[C(x) d] = b d z b 2.

69 Input-Output and Measurement Input: E x = e x0 s n = e x1 e x2 e xn e (s n) 0. Output: A state vector (z 0,..., z S 1 ), S = 2 s. Measure all lines: For any outcome b {0, 1} s, Pr[C(x) b] = z b 2 = E x U C e b 2. (Show how DavyW applet does this.) For outcome d {0, 1} r on r-many designated qubit lines, Pr[C(x) d] = b d z b 2. Can project as amplitudes: C(x) (z 0,..., z 2 r 1 ) where z d 2 is the probability of outcome d {0, 1} r.

70 Input-Output and Measurement Input: E x = e x0 s n = e x1 e x2 e xn e (s n) 0. Output: A state vector (z 0,..., z S 1 ), S = 2 s. Measure all lines: For any outcome b {0, 1} s, Pr[C(x) b] = z b 2 = E x U C e b 2. (Show how DavyW applet does this.) For outcome d {0, 1} r on r-many designated qubit lines, Pr[C(x) d] = b d z b 2. Can project as amplitudes: C(x) (z 0,..., z 2 r 1 ) where z d 2 is the probability of outcome d {0, 1} r. Call this amplitude z d as A[C(x) d].

71 BQP Definition A language L belongs to BQP if there are poly-time uniform quantum circuits C n for each n such that forall n and inputs x {0, 1} n, designating qubit 1 for yes/no output: x L = Pr[C n (x) 1] > 3 4, x / L = Pr[C n (x) 1] < 1 4,

72 BQP Definition A language L belongs to BQP if there are poly-time uniform quantum circuits C n for each n such that forall n and inputs x {0, 1} n, designating qubit 1 for yes/no output: x L = Pr[C n (x) 1] > 3 4, x / L = Pr[C n (x) 1] < 1 4, The language L = {(x, w) : w is an initial part of the unique prime factorization of x} captures the task of factoring x.

73 BQP Definition A language L belongs to BQP if there are poly-time uniform quantum circuits C n for each n such that forall n and inputs x {0, 1} n, designating qubit 1 for yes/no output: x L = Pr[C n (x) 1] > 3 4, x / L = Pr[C n (x) 1] < 1 4, The language L = {(x, w) : w is an initial part of the unique prime factorization of x} captures the task of factoring x. So the fact that L BQP says that QCs can efficiently factor.

74 BQP Definition A language L belongs to BQP if there are poly-time uniform quantum circuits C n for each n such that forall n and inputs x {0, 1} n, designating qubit 1 for yes/no output: x L = Pr[C n (x) 1] > 3 4, x / L = Pr[C n (x) 1] < 1 4, The language L = {(x, w) : w is an initial part of the unique prime factorization of x} captures the task of factoring x. So the fact that L BQP says that QCs can efficiently factor. Goal: calculate the amplitude of C n (x) 1,

75 BQP Definition A language L belongs to BQP if there are poly-time uniform quantum circuits C n for each n such that forall n and inputs x {0, 1} n, designating qubit 1 for yes/no output: x L = Pr[C n (x) 1] > 3 4, x / L = Pr[C n (x) 1] < 1 4, The language L = {(x, w) : w is an initial part of the unique prime factorization of x} captures the task of factoring x. So the fact that L BQP says that QCs can efficiently factor. Goal: calculate the amplitude of C n (x) 1, explicitly or implicitly.

76 BQP Definition A language L belongs to BQP if there are poly-time uniform quantum circuits C n for each n such that forall n and inputs x {0, 1} n, designating qubit 1 for yes/no output: x L = Pr[C n (x) 1] > 3 4, x / L = Pr[C n (x) 1] < 1 4, The language L = {(x, w) : w is an initial part of the unique prime factorization of x} captures the task of factoring x. So the fact that L BQP says that QCs can efficiently factor. Goal: calculate the amplitude of C n (x) 1, explicitly or implicitly. But no classical way known without paying 2 n time overhead as for factoring.

77 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away.

78 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically.

79 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically. The amplitude(s) we seek are calculable from the numbers of solutions to certain equations P (y ; ˆx) = ẑ.

80 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically. The amplitude(s) we seek are calculable from the numbers of solutions to certain equations P (y ; ˆx) = ẑ. Call that number e.g. N P,x,z [1].

81 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically. The amplitude(s) we seek are calculable from the numbers of solutions to certain equations P (y ; ˆx) = ẑ. Call that number e.g. N P,x,z [1]. Opposite: N P,x,z [0]

82 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically. The amplitude(s) we seek are calculable from the numbers of solutions to certain equations P (y ; ˆx) = ẑ. Call that number e.g. N P,x,z [1]. Opposite: N P,x,z [0] For general P this number is NP-hard to compute. No Free Lunch.

83 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically. The amplitude(s) we seek are calculable from the numbers of solutions to certain equations P (y ; ˆx) = ẑ. Call that number e.g. N P,x,z [1]. Opposite: N P,x,z [0] For general P this number is NP-hard to compute. No Free Lunch. It is complete for the solution-counting class #P.

84 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically. The amplitude(s) we seek are calculable from the numbers of solutions to certain equations P (y ; ˆx) = ẑ. Call that number e.g. N P,x,z [1]. Opposite: N P,x,z [0] For general P this number is NP-hard to compute. No Free Lunch. It is complete for the solution-counting class #P. But in many cases, #SAT solvers may be effective.

85 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically. The amplitude(s) we seek are calculable from the numbers of solutions to certain equations P (y ; ˆx) = ẑ. Call that number e.g. N P,x,z [1]. Opposite: N P,x,z [0] For general P this number is NP-hard to compute. No Free Lunch. It is complete for the solution-counting class #P. But in many cases, #SAT solvers may be effective. Computation by solver more offline than managing 2 n -sized arrays.

86 Points of the Polynomial Simulation Existing general simulations pay 2 n m or 2 s m overhead right away. Idea: Paying only O(s m) we can build a polynomial P = P C that encodes all info of C algebraically. The amplitude(s) we seek are calculable from the numbers of solutions to certain equations P (y ; ˆx) = ẑ. Call that number e.g. N P,x,z [1]. Opposite: N P,x,z [0] For general P this number is NP-hard to compute. No Free Lunch. It is complete for the solution-counting class #P. But in many cases, #SAT solvers may be effective. Computation by solver more offline than managing 2 n -sized arrays. P C may yield other algebraic and physical info about C, including about entanglement.

87 The Basic Theorem Theorem (Dawson et al , implicitly before?) Given C built from TOF gates and h-many H gates, we can efficiently compute a polynomial P C (x 1,..., x n, y 1,..., y h, z 1,..., z r ) and a constant R (here, R = 2 h ) such that for all x {0, 1} n and z {0, 1} r, A[C(x) z] = 1 R (N P,x,z[1] N P,x,z [0]).

88 The Basic Theorem Theorem (Dawson et al , implicitly before?) Given C built from TOF gates and h-many H gates, we can efficiently compute a polynomial P C (x 1,..., x n, y 1,..., y h, z 1,..., z r ) and a constant R (here, R = 2 h ) such that for all x {0, 1} n and z {0, 1} r, A[C(x) z] = 1 R (N P,x,z[1] N P,x,z [0]). Thus BQP reduces to the difference between two #P functions.

89 The Basic Theorem Theorem (Dawson et al , implicitly before?) Given C built from TOF gates and h-many H gates, we can efficiently compute a polynomial P C (x 1,..., x n, y 1,..., y h, z 1,..., z r ) and a constant R (here, R = 2 h ) such that for all x {0, 1} n and z {0, 1} r, A[C(x) z] = 1 R (N P,x,z[1] N P,x,z [0]). Thus BQP reduces to the difference between two #P functions. Note heavy promise: 0 N[1] N[0] R = 2 h.

90 The Basic Theorem Theorem (Dawson et al , implicitly before?) Given C built from TOF gates and h-many H gates, we can efficiently compute a polynomial P C (x 1,..., x n, y 1,..., y h, z 1,..., z r ) and a constant R (here, R = 2 h ) such that for all x {0, 1} n and z {0, 1} r, A[C(x) z] = 1 R (N P,x,z[1] N P,x,z [0]). Thus BQP reduces to the difference between two #P functions. Note heavy promise: 0 N[1] N[0] R = 2 h. Means all but a trace of pairs y, y {0, 1} h cancel.

91 The Basic Theorem Theorem (Dawson et al , implicitly before?) Given C built from TOF gates and h-many H gates, we can efficiently compute a polynomial P C (x 1,..., x n, y 1,..., y h, z 1,..., z r ) and a constant R (here, R = 2 h ) such that for all x {0, 1} n and z {0, 1} r, A[C(x) z] = 1 R (N P,x,z[1] N P,x,z [0]). Thus BQP reduces to the difference between two #P functions. Note heavy promise: 0 N[1] N[0] R = 2 h. Means all but a trace of pairs y, y {0, 1} h cancel. Hence cannot approximate the difference by approximating each term. Need exact solution counting.

92 My Extensions

93 My Extensions Say a gate is balanced if all nonzero entries re iθ of its matrix have equal magnitude r.

94 My Extensions Say a gate is balanced if all nonzero entries re iθ of its matrix have equal magnitude r. A circuit C is balanced if every gate in C is balanced.

95 My Extensions Say a gate is balanced if all nonzero entries re iθ of its matrix have equal magnitude r. A circuit C is balanced if every gate in C is balanced. K(C) = the least K such that all θ in entries of gates in C are multiples of 2π/K. Min-Phase

96 My Extensions Say a gate is balanced if all nonzero entries re iθ of its matrix have equal magnitude r. A circuit C is balanced if every gate in C is balanced. K(C) = the least K such that all θ in entries of gates in C are multiples of 2π/K. Min-Phase Let G be a field or ring such that G embeds the K-th roots of unity ω j by a multiplicative homomorphism e(ω j ). Theorem Can arrange P C = gates g P g such that for all x and z, A[C(x) z] = 1 R K 1 j=0 ω j N PC,x,z[e(ω j )]

97 My Extensions Say a gate is balanced if all nonzero entries re iθ of its matrix have equal magnitude r. A circuit C is balanced if every gate in C is balanced. K(C) = the least K such that all θ in entries of gates in C are multiples of 2π/K. Min-Phase Let G be a field or ring such that G embeds the K-th roots of unity ω j by a multiplicative homomorphism e(ω j ). Theorem Can arrange P C = gates g P g such that for all x and z, A[C(x) z] = 1 R K 1 j=0 ω j N PC,x,z[e(ω j )] = 1 ω PC(x,y,z). R y

98 How it Works: The Quantum Grille Consider a general 2 2 matrix A. Assign an indicator variable u to its input and y to its output: (1 y) y (1 u) a 11 a 12 u a 21 a 22

99 How it Works: The Quantum Grille Consider a general 2 2 matrix A. Assign an indicator variable u to its input and y to its output: (1 y) y (1 u) a 11 a 12 u a 21 a 22 P A = a 11 + (a 21 a 11 )u + (a 12 a 11 )y + (a 11 a 12 a 21 + a 22 )uy.

100 How it Works: The Quantum Grille Consider a general 2 2 matrix A. Assign an indicator variable u to its input and y to its output: (1 y) y (1 u) a 11 a 12 u a 21 a 22 P A = a 11 + (a 21 a 11 )u + (a 12 a 11 )y + (a 11 a 12 a 21 + a 22 )uy. Given u, y {0, 1}, only one path is allowed others zeroed out.

101 How it Works: The Quantum Grille Consider a general 2 2 matrix A. Assign an indicator variable u to its input and y to its output: (1 y) y (1 u) a 11 a 12 u a 21 a 22 P A = a 11 + (a 21 a 11 )u + (a 12 a 11 )y + (a 11 a 12 a 21 + a 22 )uy. Given u, y {0, 1}, only one path is allowed others zeroed out. Carries out Feynman s Sum Over Paths construction.

102 How it Works: The Quantum Grille Consider a general 2 2 matrix A. Assign an indicator variable u to its input and y to its output: (1 y) y (1 u) a 11 a 12 u a 21 a 22 P A = a 11 + (a 21 a 11 )u + (a 12 a 11 )y + (a 11 a 12 a 21 + a 22 )uy. Given u, y {0, 1}, only one path is allowed others zeroed out. Carries out Feynman s Sum Over Paths construction. Works over any field or ring that embeds 0, 1, 1.

103 How it Works: The Quantum Grille Consider a general 2 2 matrix A. Assign an indicator variable u to its input and y to its output: (1 y) y (1 u) a 11 a 12 u a 21 a 22 P A = a 11 + (a 21 a 11 )u + (a 12 a 11 )y + (a 11 a 12 a 21 + a 22 )uy. Given u, y {0, 1}, only one path is allowed others zeroed out. Carries out Feynman s Sum Over Paths construction. Works over any field or ring that embeds 0, 1, 1. If gate is deterministic, can substitute y by expression in u.

104 How it Works: The Quantum Grille Consider a general 2 2 matrix A. Assign an indicator variable u to its input and y to its output: (1 y) y (1 u) a 11 a 12 u a 21 a 22 P A = a 11 + (a 21 a 11 )u + (a 12 a 11 )y + (a 11 a 12 a 21 + a 22 )uy. Given u, y {0, 1}, only one path is allowed others zeroed out. Carries out Feynman s Sum Over Paths construction. Works over any field or ring that embeds 0, 1, 1. If gate is deterministic, can substitute y by expression in u. Every qubit at every stage has a well-defined local algebraic value.

105 How it Works: Two-Qubit Gate Now let A be a general 4 4 matrix. Assign indicator variables u 1, u 2 to the two incoming qubits and y 1, y 2 to their outgoing selves: (1 y 1 )(1 y 2 ) (1 y 1 )y 2 y 1 (1 y 2 ) y 1 y 2 (1 u 1 )(1 u 2 ) a 11 a 12 a 13 a 14 (1 u 1 )u 2 a 21 a 22 a 23 a 24 u 1 (1 u 2 ) a 31 a 32 a 33 a 34 u 1 u 2 a 41 a 42 a 43 a 44

106 How it Works: Two-Qubit Gate Now let A be a general 4 4 matrix. Assign indicator variables u 1, u 2 to the two incoming qubits and y 1, y 2 to their outgoing selves: (1 y 1 )(1 y 2 ) (1 y 1 )y 2 y 1 (1 y 2 ) y 1 y 2 (1 u 1 )(1 u 2 ) a 11 a 12 a 13 a 14 (1 u 1 )u 2 a 21 a 22 a 23 a 24 u 1 (1 u 2 ) a 31 a 32 a 33 a 34 u 1 u 2 a 41 a 42 a 43 a 44 Similar for 8 8 etc. Initially there are a lot of terms.

107 How it Works: Two-Qubit Gate Now let A be a general 4 4 matrix. Assign indicator variables u 1, u 2 to the two incoming qubits and y 1, y 2 to their outgoing selves: (1 y 1 )(1 y 2 ) (1 y 1 )y 2 y 1 (1 y 2 ) y 1 y 2 (1 u 1 )(1 u 2 ) a 11 a 12 a 13 a 14 (1 u 1 )u 2 a 21 a 22 a 23 a 24 u 1 (1 u 2 ) a 31 a 32 a 33 a 34 u 1 u 2 a 41 a 42 a 43 a 44 Similar for 8 8 etc. Initially there are a lot of terms. However, with substitution for permutation gates, the entire polynomial collapses to the constant 1

108 How it Works: Two-Qubit Gate Now let A be a general 4 4 matrix. Assign indicator variables u 1, u 2 to the two incoming qubits and y 1, y 2 to their outgoing selves: (1 y 1 )(1 y 2 ) (1 y 1 )y 2 y 1 (1 y 2 ) y 1 y 2 (1 u 1 )(1 u 2 ) a 11 a 12 a 13 a 14 (1 u 1 )u 2 a 21 a 22 a 23 a 24 u 1 (1 u 2 ) a 31 a 32 a 33 a 34 u 1 u 2 a 41 a 42 a 43 a 44 Similar for 8 8 etc. Initially there are a lot of terms. However, with substitution for permutation gates, the entire polynomial collapses to the constant 1!

109 How it Works: Two-Qubit Gate Now let A be a general 4 4 matrix. Assign indicator variables u 1, u 2 to the two incoming qubits and y 1, y 2 to their outgoing selves: (1 y 1 )(1 y 2 ) (1 y 1 )y 2 y 1 (1 y 2 ) y 1 y 2 (1 u 1 )(1 u 2 ) a 11 a 12 a 13 a 14 (1 u 1 )u 2 a 21 a 22 a 23 a 24 u 1 (1 u 2 ) a 31 a 32 a 33 a 34 u 1 u 2 a 41 a 42 a 43 a 44 Similar for 8 8 etc. Initially there are a lot of terms. However, with substitution for permutation gates, the entire polynomial collapses to the constant 1! The effect on P C is then how the substituted terms are input to subsequent Hadamard and other kinds of gates.

110 How it Works: Qutrit Case Let qutrit values be 0, 1, 1 indexed by the basis vectors e 0 = (1, 0, 0) T, e 1 = (0, 1, 0) T, and e 2 = (0, 0, 1) T.

111 How it Works: Qutrit Case Let qutrit values be 0, 1, 1 indexed by the basis vectors e 0 = (1, 0, 0) T, e 1 = (0, 1, 0) T, and e 2 = (0, 0, 1) T. We need indicator polynomials in u and y that have the same nonzero value (here, 2) only when u, y have the corresponding values.

112 How it Works: Qutrit Case Let qutrit values be 0, 1, 1 indexed by the basis vectors e 0 = (1, 0, 0) T, e 1 = (0, 1, 0) T, and e 2 = (0, 0, 1) T. We need indicator polynomials in u and y that have the same nonzero value (here, 2) only when u, y have the corresponding values. Given a general 3 3 matrix A, it goes: Now P A has 36 terms. 2 2y 2 y 2 + y y 2 y 2 2u 2 a 11 a 12 a 13 u 2 + u a 21 a 22 a 23 u 2 u a 31 a 32 a 33

113 How it Works: Qutrit Case Let qutrit values be 0, 1, 1 indexed by the basis vectors e 0 = (1, 0, 0) T, e 1 = (0, 1, 0) T, and e 2 = (0, 0, 1) T. We need indicator polynomials in u and y that have the same nonzero value (here, 2) only when u, y have the corresponding values. Given a general 3 3 matrix A, it goes: 2 2y 2 y 2 + y y 2 y 2 2u 2 a 11 a 12 a 13 u 2 + u a 21 a 22 a 23 u 2 u a 31 a 32 a 33 Now P A has 36 terms. But it simplifies for certain matrices: A = ω ω 2 ; P A = iuy + 2u 2 y ω 2 ω Here ω = 1 2 ( 1 + 3i), and the H 3 multiplier is 2/ 3.

114 Multiplicative and Additive Cases P C is simply the product of P g over all gates g,

115 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between.

116 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between. For min-phase K, works over any ring that embeds (0, e 2πij/K ).

117 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between. For min-phase K, works over any ring that embeds (0, e 2πij/K ). However, degree is high: Θ(s).

118 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between. For min-phase K, works over any ring that embeds (0, e 2πij/K ). However, degree is high: Θ(s). We would prefer to add terms P g and work e.g. over Z K.

119 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between. For min-phase K, works over any ring that embeds (0, e 2πij/K ). However, degree is high: Θ(s). We would prefer to add terms P g and work e.g. over Z K. But where can the zero-values for invalid paths go?

120 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between. For min-phase K, works over any ring that embeds (0, e 2πij/K ). However, degree is high: Θ(s). We would prefer to add terms P g and work e.g. over Z K. But where can the zero-values for invalid paths go? My trick: Allocate new validity indicator variables w,...

121 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between. For min-phase K, works over any ring that embeds (0, e 2πij/K ). However, degree is high: Θ(s). We would prefer to add terms P g and work e.g. over Z K. But where can the zero-values for invalid paths go? My trick: Allocate new validity indicator variables w,... Given a constraint c with values 0 = OK, 1 = fail, add q c = w 0 c + 2w 1 c + 4w 2 c k 1 w k 1 c.

122 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between. For min-phase K, works over any ring that embeds (0, e 2πij/K ). However, degree is high: Θ(s). We would prefer to add terms P g and work e.g. over Z K. But where can the zero-values for invalid paths go? My trick: Allocate new validity indicator variables w,... Given a constraint c with values 0 = OK, 1 = fail, add q c = w 0 c + 2w 1 c + 4w 2 c k 1 w k 1 c. Then c = 1 = binary assignments to w 0,..., w k 1 run through all K values = the entire net contribution over u, y, w cancels.

123 Multiplicative and Additive Cases P C is simply the product of P g over all gates g, possibly after substitutions for input and output variables and in-between. For min-phase K, works over any ring that embeds (0, e 2πij/K ). However, degree is high: Θ(s). We would prefer to add terms P g and work e.g. over Z K. But where can the zero-values for invalid paths go? My trick: Allocate new validity indicator variables w,... Given a constraint c with values 0 = OK, 1 = fail, add q c = w 0 c + 2w 1 c + 4w 2 c k 1 w k 1 c. Then c = 1 = binary assignments to w 0,..., w k 1 run through all K values = the entire net contribution over u, y, w cancels. Whereas c = 0 zeroes all such terms, so he only effect is to inflate R.

124 Additive Extension Theorem Given any C of minphase K, we can efficiently compute a polynomial Q C (x 1,..., x n, y 1,..., y h, z 1,..., z r, w 1,..., w t ) over Z K and a constant R such that for all x {0, 1} n and z {0, 1} r, A[C(x) z] = 1 R K 1 j=0 ω j N QC,x,z[j]

125 Additive Extension Theorem Given any C of minphase K, we can efficiently compute a polynomial Q C (x 1,..., x n, y 1,..., y h, z 1,..., z r, w 1,..., w t ) over Z K and a constant R such that for all x {0, 1} n and z {0, 1} r, A[C(x) z] = 1 R K 1 j=0 ω j N QC,x,z[j] = 1 ω QC(x,y,z,w), R where Q C = gates g q g + constraints c q c has bounded degree. Thus we can do all calculations using Q C over Z K. y,w

126 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i.

127 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i. Initially x i and 0 terms, P C = 1, Q C = 0.

128 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i. Initially x i and 0 terms, P C = 1, Q C = 0. u i H : new variable y j, P C = (1 u i y j ) Q C + = 2 k 1 u i y j.

129 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i. Initially x i and 0 terms, P C = 1, Q C = 0. u i H : new variable y j, P C = (1 u i y j ) Q C + = 2 k 1 u i y j. CNOT with incoming terms u i on control, u j on target: u i stays, u j := 2u i u j u i u j.

130 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i. Initially x i and 0 terms, P C = 1, Q C = 0. u i H : new variable y j, P C = (1 u i y j ) Q C + = 2 k 1 u i y j. CNOT with incoming terms u i on control, u j on target: u i stays, u j := 2u i u j u i u j. No change to P C or Q C, as with any permutation gate.

131 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i. Initially x i and 0 terms, P C = 1, Q C = 0. u i H : new variable y j, P C = (1 u i y j ) Q C + = 2 k 1 u i y j. CNOT with incoming terms u i on control, u j on target: u i stays, u j := 2u i u j u i u j. No change to P C or Q C, as with any permutation gate. In characteristic 2, linearity is preserved.

132 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i. Initially x i and 0 terms, P C = 1, Q C = 0. u i H : new variable y j, P C = (1 u i y j ) Q C + = 2 k 1 u i y j. CNOT with incoming terms u i on control, u j on target: u i stays, u j := 2u i u j u i u j. No change to P C or Q C, as with any permutation gate. In characteristic 2, linearity is preserved. TOF: controls u i, u j stay, target u k changes to 2u i u j u k u i u j u k.

133 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i. Initially x i and 0 terms, P C = 1, Q C = 0. u i H : new variable y j, P C = (1 u i y j ) Q C + = 2 k 1 u i y j. CNOT with incoming terms u i on control, u j on target: u i stays, u j := 2u i u j u i u j. No change to P C or Q C, as with any permutation gate. In characteristic 2, linearity is preserved. TOF: controls u i, u j stay, target u k changes to 2u i u j u k u i u j u k. Linearity not preserved.

134 Computing the Polynomials Annotate every juncture of qubit i with variable y j or term u i. Initially x i and 0 terms, P C = 1, Q C = 0. u i H : new variable y j, P C = (1 u i y j ) Q C + = 2 k 1 u i y j. CNOT with incoming terms u i on control, u j on target: u i stays, u j := 2u i u j u i u j. No change to P C or Q C, as with any permutation gate. In characteristic 2, linearity is preserved. TOF: controls u i, u j stay, target u k changes to 2u i u j u k u i u j u k. Linearity not preserved. Similar considerations in paper by Bacon-van Dam-Russell, 2008 (unpub., morphed into least action talk... ).

135 Equality Constraints To enforce a desired output value z i on qubit i with final term u i : P C = (1 + 2u i z i u i z i ) Q C += w j (u i + z i 2u i z i ).

136 Equality Constraints To enforce a desired output value z i on qubit i with final term u i : P C = (1 + 2u i z i u i z i ) Q C += w j (u i + z i 2u i z i ). In characteristic 2, Q C remains quadratic.

137 Equality Constraints To enforce a desired output value z i on qubit i with final term u i : P C = (1 + 2u i z i u i z i ) Q C += w j (u i + z i 2u i z i ). In characteristic 2, Q C remains quadratic. Theorem (Cai-Chen-Lipton-Lu 2010, after Grigoriev-Karpinski (et al.)) For quadratic p(x 1,..., x n ) over Z K, and all a < K, N p [a] is computable in poly(nk) time.

138 Equality Constraints To enforce a desired output value z i on qubit i with final term u i : P C = (1 + 2u i z i u i z i ) Q C += w j (u i + z i 2u i z i ). In characteristic 2, Q C remains quadratic. Theorem (Cai-Chen-Lipton-Lu 2010, after Grigoriev-Karpinski (et al.)) For quadratic p(x 1,..., x n ) over Z K, and all a < K, N p [a] is computable in poly(nk) time. Open: replace K by log K in the time? Affirmative for A[C(x) z].

139 Gottesman-Knill: alternative methodology

140 Gottesman-Knill: alternative methodology To represent u i S we need K = 4.

141 Gottesman-Knill: alternative methodology To represent u i S we need K = 4. H gives Q C += 2u i y j.

142 Gottesman-Knill: alternative methodology To represent u i S we need K = 4. H gives Q C += 2u i y j. CNOT: Nonlinear term has a 2 which will cancel the 2 from Hadamard.

143 Gottesman-Knill: alternative methodology To represent u i S we need K = 4. H gives Q C += 2u i y j. CNOT: Nonlinear term has a 2 which will cancel the 2 from Hadamard. Equality constraint w j (u i + z i 2u i z i ): OK with [G-K], [CCLL] because w j appears only here.

144 Gottesman-Knill: alternative methodology To represent u i S we need K = 4. H gives Q C += 2u i y j. CNOT: Nonlinear term has a 2 which will cancel the 2 from Hadamard. Equality constraint w j (u i + z i 2u i z i ): OK with [G-K], [CCLL] because w j appears only here. S: u i left alone but Q C += u 2 i.

145 Gottesman-Knill: alternative methodology To represent u i S we need K = 4. H gives Q C += 2u i y j. CNOT: Nonlinear term has a 2 which will cancel the 2 from Hadamard. Equality constraint w j (u i + z i 2u i z i ): OK with [G-K], [CCLL] because w j appears only here. S: u i left alone but Q C += u 2 i. Inductively every term in Q C has form y 2 j or 2y iy j.

146 Gottesman-Knill: alternative methodology To represent u i S we need K = 4. H gives Q C += 2u i y j. CNOT: Nonlinear term has a 2 which will cancel the 2 from Hadamard. Equality constraint w j (u i + z i 2u i z i ): OK with [G-K], [CCLL] because w j appears only here. S: u i left alone but Q C += u 2 i. Inductively every term in Q C has form y 2 j or 2y iy j. These terms are invariant under 0 2, 1 3.

147 Gottesman-Knill: alternative methodology To represent u i S we need K = 4. H gives Q C += 2u i y j. CNOT: Nonlinear term has a 2 which will cancel the 2 from Hadamard. Equality constraint w j (u i + z i 2u i z i ): OK with [G-K], [CCLL] because w j appears only here. S: u i left alone but Q C += u 2 i. Inductively every term in Q C has form y 2 j or 2y iy j. These terms are invariant under 0 2, 1 3. Hence [CCLL] gives poly-time simulation by soution counting in Z 4.

148 Open Questions

149 Open Questions Solution counting is #P-complete for degree 3 over Z K in general.

150 Open Questions Solution counting is #P-complete for degree 3 over Z K in general. Are some structured subcases of degree 3 tractable? Can they come from families of QC s?

151 Open Questions Solution counting is #P-complete for degree 3 over Z K in general. Are some structured subcases of degree 3 tractable? Can they come from families of QC s? What else is (physically!) meaningful about polynomials in the circuit s partition function?

152 Open Questions Solution counting is #P-complete for degree 3 over Z K in general. Are some structured subcases of degree 3 tractable? Can they come from families of QC s? What else is (physically!) meaningful about polynomials in the circuit s partition function? Invariants based on Strassen s geometric degree γ(f) concept, others?

153 Open Questions Solution counting is #P-complete for degree 3 over Z K in general. Are some structured subcases of degree 3 tractable? Can they come from families of QC s? What else is (physically!) meaningful about polynomials in the circuit s partition function? Invariants based on Strassen s geometric degree γ(f) concept, others? Baur-Strassen showed that log 2 γ(f) lower-bounds the arithmetical complexity of f, indeed the number of binary multiplication gates.

154 Open Questions Solution counting is #P-complete for degree 3 over Z K in general. Are some structured subcases of degree 3 tractable? Can they come from families of QC s? What else is (physically!) meaningful about polynomials in the circuit s partition function? Invariants based on Strassen s geometric degree γ(f) concept, others? Baur-Strassen showed that log 2 γ(f) lower-bounds the arithmetical complexity of f, indeed the number of binary multiplication gates. Relevance to complexity of quantum circuits C...

155 Open Questions Solution counting is #P-complete for degree 3 over Z K in general. Are some structured subcases of degree 3 tractable? Can they come from families of QC s? What else is (physically!) meaningful about polynomials in the circuit s partition function? Invariants based on Strassen s geometric degree γ(f) concept, others? Baur-Strassen showed that log 2 γ(f) lower-bounds the arithmetical complexity of f, indeed the number of binary multiplication gates. Relevance to complexity of quantum circuits C... Possibly quantify the entangling capacity of C?

156 Open Questions Solution counting is #P-complete for degree 3 over Z K in general. Are some structured subcases of degree 3 tractable? Can they come from families of QC s? What else is (physically!) meaningful about polynomials in the circuit s partition function? Invariants based on Strassen s geometric degree γ(f) concept, others? Baur-Strassen showed that log 2 γ(f) lower-bounds the arithmetical complexity of f, indeed the number of binary multiplication gates. Relevance to complexity of quantum circuits C... Possibly quantify the entangling capacity of C? Delineate algebraic properties of qutrit circuits...

Analyzing Quantum Circuits Via Polynomials

Analyzing Quantum Circuits Via Polynomials Analyzing Quantum Circuits Via Polynomials Kenneth W. Regan 1 University at Buffalo (SUNY) 23 January, 2014 1 Includes joint work with Amlan Chakrabarti and Robert Surówka Quantum Circuits Quantum circuits

More information

Analyzing Quantum Circuits Via Polynomials

Analyzing Quantum Circuits Via Polynomials Analyzing Quantum Circuits Via Polynomials Kenneth W. Regan 1 University at Buffalo (SUNY) 15 November, 2013 1 Includes joint work with Amlan Chakrabarti and Robert Surówka Quantum Circuits Quantum circuits

More information

Algebraic and Logical Emulations of Quantum Circuits

Algebraic and Logical Emulations of Quantum Circuits Algebraic and Logical Emulations of Quantum Circuits Kenneth Regan 1, Amlan Chakrabarti 2, and Chaowen Guan 1 1 University at Buffalo (SUNY) 2 University of Calcutta Abstract. Quantum circuits exhibit

More information

Lecture 2: From Classical to Quantum Model of Computation

Lecture 2: From Classical to Quantum Model of Computation CS 880: Quantum Information Processing 9/7/10 Lecture : From Classical to Quantum Model of Computation Instructor: Dieter van Melkebeek Scribe: Tyson Williams Last class we introduced two models for deterministic

More information

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm Part I: Quantum Gates and Simon s Algorithm Martin Rötteler NEC Laboratories America, Inc. 4 Independence Way, Suite 00 Princeton, NJ 08540, U.S.A. International Summer School on Quantum Information, Max-Planck-Institut

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part I Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 12, 2011 Overview Outline What is quantum computing? Background Caveats Fundamental differences

More information

Quantum Computation. Michael A. Nielsen. University of Queensland

Quantum Computation. Michael A. Nielsen. University of Queensland Quantum Computation Michael A. Nielsen University of Queensland Goals: 1. To eplain the quantum circuit model of computation. 2. To eplain Deutsch s algorithm. 3. To eplain an alternate model of quantum

More information

Quantum Algorithms via Linear Algebra

Quantum Algorithms via Linear Algebra Quantum Algorithms via Linear Algebra Basics of quantum computations Dao-Yun Xu College of Computer Science and Technology, Guizhou University Outline 4. Boolean Functions, Quantum Bits, and Feasibility

More information

Lecture 3: Constructing a Quantum Model

Lecture 3: Constructing a Quantum Model CS 880: Quantum Information Processing 9/9/010 Lecture 3: Constructing a Quantum Model Instructor: Dieter van Melkebeek Scribe: Brian Nixon This lecture focuses on quantum computation by contrasting it

More information

Chapter 10. Quantum algorithms

Chapter 10. Quantum algorithms Chapter 10. Quantum algorithms Complex numbers: a quick review Definition: C = { a + b i : a, b R } where i = 1. Polar form of z = a + b i is z = re iθ, where r = z = a 2 + b 2 and θ = tan 1 y x Alternatively,

More information

Complex numbers: a quick review. Chapter 10. Quantum algorithms. Definition: where i = 1. Polar form of z = a + b i is z = re iθ, where

Complex numbers: a quick review. Chapter 10. Quantum algorithms. Definition: where i = 1. Polar form of z = a + b i is z = re iθ, where Chapter 0 Quantum algorithms Complex numbers: a quick review / 4 / 4 Definition: C = { a + b i : a, b R } where i = Polar form of z = a + b i is z = re iθ, where r = z = a + b and θ = tan y x Alternatively,

More information

1 Quantum Circuits and Polynomials

1 Quantum Circuits and Polynomials Quantum Circuits, Polynomials, and Entanglement Measures Working Draft Kenneth Regan University at Buffalo (SUNY) Amlan Chakrabarti University of Calcutta July 8, 2012 Abstract We extend the polynomial

More information

Simulating classical circuits with quantum circuits. The complexity class Reversible-P. Universal gate set for reversible circuits P = Reversible-P

Simulating classical circuits with quantum circuits. The complexity class Reversible-P. Universal gate set for reversible circuits P = Reversible-P Quantum Circuits Based on notes by John Watrous and also Sco8 Aaronson: www.sco8aaronson.com/democritus/ John Preskill: www.theory.caltech.edu/people/preskill/ph229 Outline Simulating classical circuits

More information

Lecture 22: Quantum computational complexity

Lecture 22: Quantum computational complexity CPSC 519/619: Quantum Computation John Watrous, University of Calgary Lecture 22: Quantum computational complexity April 11, 2006 This will be the last lecture of the course I hope you have enjoyed the

More information

Quantum Computing. 6. Quantum Computer Architecture 7. Quantum Computers and Complexity

Quantum Computing. 6. Quantum Computer Architecture 7. Quantum Computers and Complexity Quantum Computing 1. Quantum States and Quantum Gates 2. Multiple Qubits and Entangled States 3. Quantum Gate Arrays 4. Quantum Parallelism 5. Examples of Quantum Algorithms 1. Grover s Unstructured Search

More information

Fourier Sampling & Simon s Algorithm

Fourier Sampling & Simon s Algorithm Chapter 4 Fourier Sampling & Simon s Algorithm 4.1 Reversible Computation A quantum circuit acting on n qubits is described by an n n unitary operator U. Since U is unitary, UU = U U = I. This implies

More information

Compute the Fourier transform on the first register to get x {0,1} n x 0.

Compute the Fourier transform on the first register to get x {0,1} n x 0. CS 94 Recursive Fourier Sampling, Simon s Algorithm /5/009 Spring 009 Lecture 3 1 Review Recall that we can write any classical circuit x f(x) as a reversible circuit R f. We can view R f as a unitary

More information

Quantum Computation CMU BB, Fall Week 6 work: Oct. 11 Oct hour week Obligatory problems are marked with [ ]

Quantum Computation CMU BB, Fall Week 6 work: Oct. 11 Oct hour week Obligatory problems are marked with [ ] Quantum Computation CMU 15-859BB, Fall 2018 Week 6 work: Oct. 11 Oct. 18 12-hour week Obligatory problems are marked with [ ] 1. [CCNOT.] In class we showed how to simulate classical AND, OR, NOT, and

More information

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants David Rosenbaum, Marek Perkowski Portland State University, Department of Computer Science Portland State University, Department

More information

Simulation of quantum computers with probabilistic models

Simulation of quantum computers with probabilistic models Simulation of quantum computers with probabilistic models Vlad Gheorghiu Department of Physics Carnegie Mellon University Pittsburgh, PA 15213, U.S.A. April 6, 2010 Vlad Gheorghiu (CMU) Simulation of quantum

More information

Grover s algorithm. We want to find aa. Search in an unordered database. QC oracle (as usual) Usual trick

Grover s algorithm. We want to find aa. Search in an unordered database. QC oracle (as usual) Usual trick Grover s algorithm Search in an unordered database Example: phonebook, need to find a person from a phone number Actually, something else, like hard (e.g., NP-complete) problem 0, xx aa Black box ff xx

More information

Ph 219b/CS 219b. Exercises Due: Wednesday 20 November 2013

Ph 219b/CS 219b. Exercises Due: Wednesday 20 November 2013 1 h 219b/CS 219b Exercises Due: Wednesday 20 November 2013 3.1 Universal quantum gates I In this exercise and the two that follow, we will establish that several simple sets of gates are universal for

More information

Hilbert Space, Entanglement, Quantum Gates, Bell States, Superdense Coding.

Hilbert Space, Entanglement, Quantum Gates, Bell States, Superdense Coding. CS 94- Bell States Bell Inequalities 9//04 Fall 004 Lecture Hilbert Space Entanglement Quantum Gates Bell States Superdense Coding 1 One qubit: Recall that the state of a single qubit can be written as

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Petros Wallden Lecture 7: Complexity & Algorithms I 13th October 016 School of Informatics, University of Edinburgh Complexity - Computational Complexity: Classification

More information

CSC 5170: Theory of Computational Complexity Lecture 4 The Chinese University of Hong Kong 1 February 2010

CSC 5170: Theory of Computational Complexity Lecture 4 The Chinese University of Hong Kong 1 February 2010 CSC 5170: Theory of Computational Complexity Lecture 4 The Chinese University of Hong Kong 1 February 2010 Computational complexity studies the amount of resources necessary to perform given computations.

More information

Notes for Lecture 3... x 4

Notes for Lecture 3... x 4 Stanford University CS254: Computational Complexity Notes 3 Luca Trevisan January 18, 2012 Notes for Lecture 3 In this lecture we introduce the computational model of boolean circuits and prove that polynomial

More information

Quantum parity algorithms as oracle calls, and application in Grover Database search

Quantum parity algorithms as oracle calls, and application in Grover Database search Abstract Quantum parity algorithms as oracle calls, and application in Grover Database search M. Z. Rashad Faculty of Computers and Information sciences, Mansoura University, Egypt Magdi_z2011@yahoo.com

More information

Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models. CS448J, Autumn 2015, Stanford University Dominik L.

Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models. CS448J, Autumn 2015, Stanford University Dominik L. Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models CS448J, Autumn 2015, Stanford University Dominik L. Michels Advanced Computation Models There is a variety of advanced

More information

Quantum computing! quantum gates! Fisica dell Energia!

Quantum computing! quantum gates! Fisica dell Energia! Quantum computing! quantum gates! Fisica dell Energia! What is Quantum Computing?! Calculation based on the laws of Quantum Mechanics.! Uses Quantum Mechanical Phenomena to perform operations on data.!

More information

Quantum Circuits and Algorithms

Quantum Circuits and Algorithms Quantum Circuits and Algorithms Modular Arithmetic, XOR Reversible Computation revisited Quantum Gates revisited A taste of quantum algorithms: Deutsch algorithm Other algorithms, general overviews Measurements

More information

QUANTUM COMPUTER SIMULATION

QUANTUM COMPUTER SIMULATION Chapter 2 QUANTUM COMPUTER SIMULATION Chapter 1 discussed quantum computing in non-technical terms and in reference to simple, idealized physical models. In this chapter we make the underlying mathematics

More information

CS257 Discrete Quantum Computation

CS257 Discrete Quantum Computation CS57 Discrete Quantum Computation John E Savage April 30, 007 Lect 11 Quantum Computing c John E Savage Classical Computation State is a vector of reals; e.g. Booleans, positions, velocities, or momenta.

More information

Single qubit + CNOT gates

Single qubit + CNOT gates Lecture 6 Universal quantum gates Single qubit + CNOT gates Single qubit and CNOT gates together can be used to implement an arbitrary twolevel unitary operation on the state space of n qubits. Suppose

More information

Umans Complexity Theory Lectures

Umans Complexity Theory Lectures Complexity Theory Umans Complexity Theory Lectures Lecture 1a: Problems and Languages Classify problems according to the computational resources required running time storage space parallelism randomness

More information

6.896 Quantum Complexity Theory September 9, Lecture 2

6.896 Quantum Complexity Theory September 9, Lecture 2 6.96 Quantum Complexity Theory September 9, 00 Lecturer: Scott Aaronson Lecture Quick Recap The central object of study in our class is BQP, which stands for Bounded error, Quantum, Polynomial time. Informally

More information

C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9

C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9 C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9 1 Readings Benenti, Casati, and Strini: Quantum Gates Ch. 3.2-3.4 Universality Ch. 3.5-3.6 2 Quantum Gates Continuing

More information

6.896 Quantum Complexity Theory November 11, Lecture 20

6.896 Quantum Complexity Theory November 11, Lecture 20 6.896 Quantum Complexity Theory November, 2008 Lecturer: Scott Aaronson Lecture 20 Last Time In the previous lecture, we saw the result of Aaronson and Watrous that showed that in the presence of closed

More information

Introduction to Quantum Information Processing

Introduction to Quantum Information Processing Introduction to Quantum Information Processing Lecture 6 Richard Cleve Overview of Lecture 6 Continuation of teleportation Computation and some basic complexity classes Simple quantum algorithms in the

More information

arxiv: v1 [quant-ph] 31 Dec 2015

arxiv: v1 [quant-ph] 31 Dec 2015 Computational Complexity of Some Quantum Theories in 1 + 1 Dimensions Saeed Mehraban arxiv:1512.09243v1 [quant-ph] 31 Dec 2015 Computer Science and Artificial Intelligence Laboratory Massachusetts Institute

More information

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT Quantum algorithms (CO 78, Winter 008) Prof. Andrew Childs, University of Waterloo LECTURE : Quantum circuits and the abelian QFT This is a course on quantum algorithms. It is intended for graduate students

More information

4. QUANTUM COMPUTING. Jozef Gruska Faculty of Informatics Brno Czech Republic. October 20, 2011

4. QUANTUM COMPUTING. Jozef Gruska Faculty of Informatics Brno Czech Republic. October 20, 2011 4. QUANTUM COMPUTING Jozef Gruska Faculty of Informatics Brno Czech Republic October 20, 2011 4. QUANTUM CIRCUITS Quantum circuits are the most easy to deal with model of quantum computations. Several

More information

6.080/6.089 GITCS May 6-8, Lecture 22/23. α 0 + β 1. α 2 + β 2 = 1

6.080/6.089 GITCS May 6-8, Lecture 22/23. α 0 + β 1. α 2 + β 2 = 1 6.080/6.089 GITCS May 6-8, 2008 Lecturer: Scott Aaronson Lecture 22/23 Scribe: Chris Granade 1 Quantum Mechanics 1.1 Quantum states of n qubits If you have an object that can be in two perfectly distinguishable

More information

Gates for Adiabatic Quantum Computing

Gates for Adiabatic Quantum Computing Gates for Adiabatic Quantum Computing Richard H. Warren Abstract. The goal of this paper is to introduce building blocks for adiabatic quantum algorithms. Adiabatic quantum computing uses the principle

More information

Quantum Complexity Theory and Adiabatic Computation

Quantum Complexity Theory and Adiabatic Computation Chapter 9 Quantum Complexity Theory and Adiabatic Computation 9.1 Defining Quantum Complexity We are familiar with complexity theory in classical computer science: how quickly can a computer (or Turing

More information

Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator

Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator http://algassert.com/2016/05/22/quirk.html PROBLEM TO SOLVE 1. The HNG gate is described in reference: Haghparast M. and

More information

Quantum non-demolition measurements:

Quantum non-demolition measurements: Quantum non-demolition measurements: One path to truly scalable quantum computation Kae Nemoto Tim Spiller Sean Barrett Ray Beausoleil Pieter Kok Bill Munro HP Labs (Bristol) Why should optical quantum

More information

CSCI 2570 Introduction to Nanocomputing. Discrete Quantum Computation

CSCI 2570 Introduction to Nanocomputing. Discrete Quantum Computation CSCI 2570 Introduction to Nanocomputing Discrete Quantum Computation John E Savage November 27, 2007 Lect 22 Quantum Computing c John E Savage What is Quantum Computation It is very different kind of computation

More information

Lecture 24: Randomized Complexity, Course Summary

Lecture 24: Randomized Complexity, Course Summary 6.045 Lecture 24: Randomized Complexity, Course Summary 1 1/4 1/16 1/4 1/4 1/32 1/16 1/32 Probabilistic TMs 1/16 A probabilistic TM M is a nondeterministic TM where: Each nondeterministic step is called

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part II Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 13, 2011 Overview Outline Grover s Algorithm Quantum search A worked example Simon s algorithm

More information

Notes for Lecture 3... x 4

Notes for Lecture 3... x 4 Stanford University CS254: Computational Complexity Notes 3 Luca Trevisan January 14, 2014 Notes for Lecture 3 In this lecture we introduce the computational model of boolean circuits and prove that polynomial

More information

Advanced Cryptography Quantum Algorithms Christophe Petit

Advanced Cryptography Quantum Algorithms Christophe Petit The threat of quantum computers Advanced Cryptography Quantum Algorithms Christophe Petit University of Oxford Christophe Petit -Advanced Cryptography 1 Christophe Petit -Advanced Cryptography 2 The threat

More information

Lecture 8: Complete Problems for Other Complexity Classes

Lecture 8: Complete Problems for Other Complexity Classes IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Basic Course on Computational Complexity Lecture 8: Complete Problems for Other Complexity Classes David Mix Barrington and Alexis Maciel

More information

b) (5 points) Give a simple quantum circuit that transforms the state

b) (5 points) Give a simple quantum circuit that transforms the state C/CS/Phy191 Midterm Quiz Solutions October 0, 009 1 (5 points) Short answer questions: a) (5 points) Let f be a function from n bits to 1 bit You have a quantum circuit U f for computing f If you wish

More information

1 Quantum Circuits. CS Quantum Complexity theory 1/31/07 Spring 2007 Lecture Class P - Polynomial Time

1 Quantum Circuits. CS Quantum Complexity theory 1/31/07 Spring 2007 Lecture Class P - Polynomial Time CS 94- Quantum Complexity theory 1/31/07 Spring 007 Lecture 5 1 Quantum Circuits A quantum circuit implements a unitary operator in a ilbert space, given as primitive a (usually finite) collection of gates

More information

Lecture 23: Introduction to Quantum Complexity Theory 1 REVIEW: CLASSICAL COMPLEXITY THEORY

Lecture 23: Introduction to Quantum Complexity Theory 1 REVIEW: CLASSICAL COMPLEXITY THEORY Quantum Computation (CMU 18-859BB, Fall 2015) Lecture 23: Introduction to Quantum Complexity Theory November 31, 2015 Lecturer: Ryan O Donnell Scribe: Will Griffin 1 REVIEW: CLASSICAL COMPLEXITY THEORY

More information

The Classification of Clifford Gates over Qubits

The Classification of Clifford Gates over Qubits The Classification of Clifford Gates over Qubits Daniel Grier, Luke Schaeffer MIT Introduction Section 1 Introduction Classification Introduction Idea Study universality by finding non-universal gate sets.

More information

α x x 0 α x x f(x) α x x α x ( 1) f(x) x f(x) x f(x) α x = α x x 2

α x x 0 α x x f(x) α x x α x ( 1) f(x) x f(x) x f(x) α x = α x x 2 Quadratic speedup for unstructured search - Grover s Al- CS 94- gorithm /8/07 Spring 007 Lecture 11 01 Unstructured Search Here s the problem: You are given an efficient boolean function f : {1,,} {0,1},

More information

Some Recent Research Issues in Quantum Logic

Some Recent Research Issues in Quantum Logic Some Recent Research Issues in Quantum Logic Marek Perkowski Part one What will be discussed?. Background. Quantum circuits synthesis 3. Quantum circuits simulation 4. Quantum logic emulation and evolvable

More information

Lecture 2: Introduction to Quantum Mechanics

Lecture 2: Introduction to Quantum Mechanics CMSC 49: Introduction to Quantum Computation Fall 5, Virginia Commonwealth University Sevag Gharibian Lecture : Introduction to Quantum Mechanics...the paradox is only a conflict between reality and your

More information

Lecture 4: Elementary Quantum Algorithms

Lecture 4: Elementary Quantum Algorithms CS 880: Quantum Information Processing 9/13/010 Lecture 4: Elementary Quantum Algorithms Instructor: Dieter van Melkebeek Scribe: Kenneth Rudinger This lecture introduces several simple quantum algorithms.

More information

Quantum Computational Complexity

Quantum Computational Complexity Quantum Computational Complexity John Watrous Institute for Quantum Computing and School of Computer Science University of Waterloo, Waterloo, Ontario, Canada. arxiv:0804.3401v1 [quant-ph] 21 Apr 2008

More information

CS151 Complexity Theory. Lecture 1 April 3, 2017

CS151 Complexity Theory. Lecture 1 April 3, 2017 CS151 Complexity Theory Lecture 1 April 3, 2017 Complexity Theory Classify problems according to the computational resources required running time storage space parallelism randomness rounds of interaction,

More information

Complete problems for classes in PH, The Polynomial-Time Hierarchy (PH) oracle is like a subroutine, or function in

Complete problems for classes in PH, The Polynomial-Time Hierarchy (PH) oracle is like a subroutine, or function in Oracle Turing Machines Nondeterministic OTM defined in the same way (transition relation, rather than function) oracle is like a subroutine, or function in your favorite PL but each call counts as single

More information

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions CS 6743 Lecture 15 1 Fall 2007 1 Circuit Complexity 1.1 Definitions A Boolean circuit C on n inputs x 1,..., x n is a directed acyclic graph (DAG) with n nodes of in-degree 0 (the inputs x 1,..., x n ),

More information

What is a quantum computer? Quantum Architecture. Quantum Mechanics. Quantum Superposition. Quantum Entanglement. What is a Quantum Computer (contd.

What is a quantum computer? Quantum Architecture. Quantum Mechanics. Quantum Superposition. Quantum Entanglement. What is a Quantum Computer (contd. What is a quantum computer? Quantum Architecture by Murat Birben A quantum computer is a device designed to take advantage of distincly quantum phenomena in carrying out a computational task. A quantum

More information

Errata list, Nielsen & Chuang. rrata/errata.html

Errata list, Nielsen & Chuang.  rrata/errata.html Errata list, Nielsen & Chuang http://www.michaelnielsen.org/qcqi/errata/e rrata/errata.html Part II, Nielsen & Chuang Quantum circuits (Ch 4) SK Quantum algorithms (Ch 5 & 6) Göran Johansson Physical realisation

More information

1 Measurements, Tensor Products, and Entanglement

1 Measurements, Tensor Products, and Entanglement Stanford University CS59Q: Quantum Computing Handout Luca Trevisan September 7, 0 Lecture In which we describe the quantum analogs of product distributions, independence, and conditional probability, and

More information

Boolean and arithmetic circuit complexity

Boolean and arithmetic circuit complexity Boolean and arithmetic circuit complexity Asa Goodwillie, Amherst College Advisor: Dr. Eric Allender, Department of Computer Science, Rutgers University July 17 2015 Context and motivation (Computational)

More information

6.896 Quantum Complexity Theory September 18, Lecture 5

6.896 Quantum Complexity Theory September 18, Lecture 5 6.896 Quantum Complexity Theory September 18, 008 Lecturer: Scott Aaronson Lecture 5 Last time we looked at what s known about quantum computation as it relates to classical complexity classes. Today we

More information

Discrete Quantum Theories

Discrete Quantum Theories Discrete Quantum Theories Andrew J. Hanson 1 Gerardo Ortiz 2 Amr Sabry 1 Yu-Tsung Tai 3 (1) School of Informatics and Computing (2) Department of Physics (3) Mathematics Department Indiana University July

More information

Lecture 4: Postulates of quantum mechanics

Lecture 4: Postulates of quantum mechanics Lecture 4: Postulates of quantum mechanics Rajat Mittal IIT Kanpur The postulates of quantum mechanics provide us the mathematical formalism over which the physical theory is developed. For people studying

More information

LECTURE NOTES ON QUANTUM COMPUTATION. Cornell University, Physics , CS 483; Spring, 2005 c 2006, N. David Mermin

LECTURE NOTES ON QUANTUM COMPUTATION. Cornell University, Physics , CS 483; Spring, 2005 c 2006, N. David Mermin LECTURE NOTES ON QUANTUM COMPUTATION Cornell University, Physics 481-681, CS 483; Spring, 2005 c 2006, N. David Mermin IV. Searching with a Quantum Computer Last revised 3/30/06 Suppose you know that eactly

More information

CMPT 710/407 - Complexity Theory Lecture 4: Complexity Classes, Completeness, Linear Speedup, and Hierarchy Theorems

CMPT 710/407 - Complexity Theory Lecture 4: Complexity Classes, Completeness, Linear Speedup, and Hierarchy Theorems CMPT 710/407 - Complexity Theory Lecture 4: Complexity Classes, Completeness, Linear Speedup, and Hierarchy Theorems Valentine Kabanets September 13, 2007 1 Complexity Classes Unless explicitly stated,

More information

2.0 Basic Elements of a Quantum Information Processor. 2.1 Classical information processing The carrier of information

2.0 Basic Elements of a Quantum Information Processor. 2.1 Classical information processing The carrier of information QSIT09.L03 Page 1 2.0 Basic Elements of a Quantum Information Processor 2.1 Classical information processing 2.1.1 The carrier of information - binary representation of information as bits (Binary digits).

More information

Is Quantum Search Practical?

Is Quantum Search Practical? DARPA Is Quantum Search Practical? George F. Viamontes Igor L. Markov John P. Hayes University of Michigan, EECS Outline Motivation Background Quantum search Practical Requirements Quantum search versus

More information

Quantum Searching. Robert-Jan Slager and Thomas Beuman. 24 november 2009

Quantum Searching. Robert-Jan Slager and Thomas Beuman. 24 november 2009 Quantum Searching Robert-Jan Slager and Thomas Beuman 24 november 2009 1 Introduction Quantum computers promise a significant speed-up over classical computers, since calculations can be done simultaneously.

More information

Lecture Notes for Ph219/CS219: Quantum Information Chapter 5. John Preskill California Institute of Technology

Lecture Notes for Ph219/CS219: Quantum Information Chapter 5. John Preskill California Institute of Technology Lecture Notes for Ph219/CS219: Quantum Information Chapter 5 John Preskill California Institute of Technology Updated July 2015 Contents 5 Classical and quantum circuits 3 5.1 Classical Circuits 3 5.1.1

More information

Baby's First Diagrammatic Calculus for Quantum Information Processing

Baby's First Diagrammatic Calculus for Quantum Information Processing Baby's First Diagrammatic Calculus for Quantum Information Processing Vladimir Zamdzhiev Department of Computer Science Tulane University 30 May 2018 1 / 38 Quantum computing ˆ Quantum computing is usually

More information

Volume 2, Issue 9, September 2014 International Journal of Advance Research in Computer Science and Management Studies

Volume 2, Issue 9, September 2014 International Journal of Advance Research in Computer Science and Management Studies Volume 2, Issue 9, September 2014 International Journal of Advance Research in Computer Science and Management Studies Research Article / Survey Paper / Case Study Available online at: www.ijarcsms.com

More information

Lecture 1: Introduction to Quantum Computing

Lecture 1: Introduction to Quantum Computing Lecture : Introduction to Quantum Computing Rajat Mittal IIT Kanpur What is quantum computing? This course is about the theory of quantum computation, i.e., to do computation using quantum systems. These

More information

Logic gates. Quantum logic gates. α β 0 1 X = 1 0. Quantum NOT gate (X gate) Classical NOT gate NOT A. Matrix form representation

Logic gates. Quantum logic gates. α β 0 1 X = 1 0. Quantum NOT gate (X gate) Classical NOT gate NOT A. Matrix form representation Quantum logic gates Logic gates Classical NOT gate Quantum NOT gate (X gate) A NOT A α 0 + β 1 X α 1 + β 0 A N O T A 0 1 1 0 Matrix form representation 0 1 X = 1 0 The only non-trivial single bit gate

More information

Lecture 3: Circuits and Karp-Lipton. Scribe: Anonymous Student Prof. Dana Moshkovitz

Lecture 3: Circuits and Karp-Lipton. Scribe: Anonymous Student Prof. Dana Moshkovitz Advanced Complexity Theory Spring 2016 Lecture 3: Circuits and Karp-Lipton Scribe: Anonymous Student Prof. Dana Moshkovitz Scribe Date: Fall 2012 1 Overview In the last lecture we examined relativization.

More information

Bounded depth quantum circuits

Bounded depth quantum circuits Bounded depth quantum circuits Olivia Di Matteo, CS 867/QIC 890, 17 July 2014 1 Motivation and background 1.1 Why should I care about making small circuits? Qubits don t last forever - in fact, for the

More information

Fully Homomorphic Encryption and Bootstrapping

Fully Homomorphic Encryption and Bootstrapping Fully Homomorphic Encryption and Bootstrapping Craig Gentry and Shai Halevi June 3, 2014 China Summer School on Lattices and Cryptography Fully Homomorphic Encryption (FHE) A FHE scheme can evaluate unbounded

More information

Design Exploration and Application of Reversible Circuits in Emerging Technologies

Design Exploration and Application of Reversible Circuits in Emerging Technologies University of South Florida Scholar Commons Graduate Theses and Dissertations Graduate School 4-7-216 Design Exploration and Application of Reversible Circuits in Emerging Technologies Saurabh Kotiyal

More information

Quantum Computers. Peter Shor MIT

Quantum Computers. Peter Shor MIT Quantum Computers Peter Shor MIT 1 What is the difference between a computer and a physics experiment? 2 One answer: A computer answers mathematical questions. A physics experiment answers physical questions.

More information

Quantum Computing Lecture 6. Quantum Search

Quantum Computing Lecture 6. Quantum Search Quantum Computing Lecture 6 Quantum Search Maris Ozols Grover s search problem One of the two most important algorithms in quantum computing is Grover s search algorithm (invented by Lov Grover in 1996)

More information

Computability and Complexity Theory: An Introduction

Computability and Complexity Theory: An Introduction Computability and Complexity Theory: An Introduction meena@imsc.res.in http://www.imsc.res.in/ meena IMI-IISc, 20 July 2006 p. 1 Understanding Computation Kinds of questions we seek answers to: Is a given

More information

C/CS/Phys 191 Quantum Gates and Universality 9/22/05 Fall 2005 Lecture 8. a b b d. w. Therefore, U preserves norms and angles (up to sign).

C/CS/Phys 191 Quantum Gates and Universality 9/22/05 Fall 2005 Lecture 8. a b b d. w. Therefore, U preserves norms and angles (up to sign). C/CS/Phys 191 Quantum Gates and Universality 9//05 Fall 005 Lecture 8 1 Readings Benenti, Casati, and Strini: Classical circuits and computation Ch.1.,.6 Quantum Gates Ch. 3.-3.4 Universality Ch. 3.5-3.6

More information

Logical error rate in the Pauli twirling approximation

Logical error rate in the Pauli twirling approximation Logical error rate in the Pauli twirling approximation Amara Katabarwa and Michael R. Geller Department of Physics and Astronomy, University of Georgia, Athens, Georgia 30602, USA (Dated: April 10, 2015)

More information

arxiv:quant-ph/ v5 6 Apr 2005

arxiv:quant-ph/ v5 6 Apr 2005 Nonunitary quantum circuit Hiroaki Terashima 1, and Masahito Ueda 1, arxiv:quant-ph/3461v5 6 Apr 5 1 Department of Physics, Tokyo Institute of Technology, Tokyo 15-8551, Japan CREST, Japan Science and

More information

Quantum gate. Contents. Commonly used gates

Quantum gate. Contents. Commonly used gates Quantum gate From Wikipedia, the free encyclopedia In quantum computing and specifically the quantum circuit model of computation, a quantum gate (or quantum logic gate) is a basic quantum circuit operating

More information

Daniel J. Bernstein University of Illinois at Chicago. means an algorithm that a quantum computer can run.

Daniel J. Bernstein University of Illinois at Chicago. means an algorithm that a quantum computer can run. Quantum algorithms 1 Daniel J. Bernstein University of Illinois at Chicago Quantum algorithm means an algorithm that a quantum computer can run. i.e. a sequence of instructions, where each instruction

More information

QUANTUM COMPUTATION. Exercise sheet 1. Ashley Montanaro, University of Bristol H Z U = 1 2

QUANTUM COMPUTATION. Exercise sheet 1. Ashley Montanaro, University of Bristol H Z U = 1 2 School of Mathematics Spring 017 QUANTUM COMPUTATION Exercise sheet 1 Ashley Montanaro, University of Bristol ashley.montanaro@bristol.ac.uk 1. The quantum circuit model. (a) Consider the following quantum

More information

arxiv: v1 [quant-ph] 27 May 2013

arxiv: v1 [quant-ph] 27 May 2013 Classical simulation complexity of extended Clifford circuits Richard Jozsa 1 and Maarten Van den Nest 2 arxiv:1305.6190v1 [quant-ph] 27 May 2013 1 DAMTP, Centre for Mathematical Sciences, University of

More information

Simple scheme for efficient linear optics quantum gates

Simple scheme for efficient linear optics quantum gates PHYSICAL REVIEW A, VOLUME 65, 012314 Simple scheme for efficient linear optics quantum gates T. C. Ralph,* A. G. White, W. J. Munro, and G. J. Milburn Centre for Quantum Computer Technology, University

More information

A New Lower Bound Technique for Quantum Circuits without Ancillæ

A New Lower Bound Technique for Quantum Circuits without Ancillæ A New Lower Bound Technique for Quantum Circuits without Ancillæ Debajyoti Bera Abstract We present a technique to derive depth lower bounds for quantum circuits. The technique is based on the observation

More information

Quantum Geometric Algebra

Quantum Geometric Algebra ANPA 22: Quantum Geometric Algebra Quantum Geometric Algebra ANPA Conference Cambridge, UK by Dr. Douglas J. Matzke matzke@ieee.org Aug 15-18, 22 8/15/22 DJM ANPA 22: Quantum Geometric Algebra Abstract

More information

Factoring on a Quantum Computer

Factoring on a Quantum Computer Factoring on a Quantum Computer The Essence Shor s Algorithm Wolfgang Polak wp@pocs.com Thanks to: Eleanor Rieffel Fuji Xerox Palo Alto Laboratory Wolfgang Polak San Jose State University, 4-14-010 - p.

More information

Notes on Computer Theory Last updated: November, Circuits

Notes on Computer Theory Last updated: November, Circuits Notes on Computer Theory Last updated: November, 2015 Circuits Notes by Jonathan Katz, lightly edited by Dov Gordon. 1 Circuits Boolean circuits offer an alternate model of computation: a non-uniform one

More information