Basics Flashcards
What does the Fredkin Gate do?
Controlled Swap
What does the Toffoli Gate do?
Controlled Controlled Not
What are the differences between evolution and measurement?
Evolution: Reversible, Deterministic, Continuous
Measurement: Irreversible, probablistic, discontinuous
What are the Pauli Gates?
Flips X-Axis ( 0 1 | 1 0)
Flips Y-Axis ( 0 -i | i 0)
Flips Z-Axis ( 1 0 | 0 -1)
What is the Hadamard Gate?
Induces entanglement
1 / sqrt(2) * ( 1 1 | 1 -1 )
What are width and depth in a quantum circuit?
width = # of qubits
depth = # of steps needed (parallelism excluded)
What does Shor’s Algorithm do?
Solves Abelian Hidden Subgroup problem
Can be used for Factorization and Discrete Logarithm
What does Simon’s Algorithm do?
Finds period in functions
What does Grover’s Algorithm do?
Find entries in database
What are the properties of density matrices?
trace(d) = 1
probability to measure state |x> = <x|d|x>
states with same density matrix are indistinguishable
When does a density matrix represent a pure state?
If trace(d ^ 2) = 1
Given a state s1, what is the probability to measure s2?
(<s2||s1>) ^ 2
How do you calculate the trace distance between two density matrices?
1/2 * trace(|d1 - d2|)
How do you calculate the fidelity of two density matrices?
trace(sqrt(d1 ^ 1/2 * d2 * d1 ^ 1/2))
probability d1 passes for d2