VelocerOuvrir l'application

Velocer › Flashcards › University of Wisconsin–Madison › CS 880: Quantum Algorithms · UW-Madison

CS 880: Quantum Algorithms · UW-Madison

Cards i use for CS 880. lmk if something looks off. · par quiet_kernel · 103 cartes

University of Wisconsin–Madison

Étudier ce paquet Intégrer

  1. What is the final state of the ancilla registers after applying Bennett's trick?They are restored cleanly to |0⟩|0⟩, leaving only |x⟩|y⊕f(x)⟩.
  2. What is the effect of H^{⊗n} on |0⟩^{⊗n}?It creates an equal superposition of all 2^n computational basis states: (1/√(2^n)) Σ_{y} |y⟩.
  3. What does the No-Cloning Theorem state?No unitary operation can copy an arbitrary unknown quantum state, i.e., map |ψ⟩|0⟩ to |ψ⟩|ψ⟩ for all |ψ⟩.
  4. Why is cloning impossible for non-orthogonal states?Inner-product preservation under unitarity requires ⟨ψ|φ⟩ = (⟨ψ|φ⟩)², forcing ⟨ψ|φ⟩ ∈ {0,1}; so only orthogonal (distinguishable) states could be cloned.
  5. In superdense coding, how many classical bits are sent and what resources are used?2 classical bits are transmitted using 1 qubit of quantum communication plus 1 shared EPR (Bell) pair.
  6. In quantum teleportation, how many qubits are sent and what resources are used?1 qubit state |ψ⟩ is transmitted using 2 classical bits of communication plus 1 shared EPR pair.
  7. What is the density operator for an ensemble {(p_i, |ψ_i⟩)}?ρ = Σ_i p_i |ψ_i⟩⟨ψ_i|, satisfying ρ ⪰ 0 and tr(ρ) = 1.
  8. How can you tell whether a density matrix represents a pure state?A state is pure iff tr(ρ²) = 1; mixed states have tr(ρ²) < 1.
  9. How is the reduced state of subsystem A obtained from a bipartite state ρ_AB?By the partial trace over B: ρ_A = tr_B(ρ_AB).
  10. What is the trace distance between two quantum states?‖ρ − σ‖_tr = ½ tr|ρ − σ|, a measure of distinguishability between states ρ and σ.
  11. What does Helstrom's Theorem say about distinguishing two states?The maximum success probability for distinguishing ρ and σ by any measurement is ½(1 + ‖ρ − σ‖_tr).
  12. What is a Bell pair state |Φ⁺⟩ used in teleportation and superdense coding?|Φ⁺⟩ = (|00⟩ + |11⟩)/√2, a maximally entangled two-qubit state.
  13. What is phase kickback in quantum oracles?Initializing the target qubit in the |−⟩ state converts a bit-flip oracle into a phase oracle: O_f(|x⟩|−⟩) = (−1)^{f(x)}|x⟩|−⟩.
  14. What state must the target qubit be in for phase kickback to occur?The |−⟩ = (|0⟩ − |1⟩)/√2 eigenstate.
  15. What is the Deutsch–Jozsa problem?Given a function f: {0,1}^n → {0,1} promised to be constant or balanced, determine which it is.
  16. How many queries does the Deutsch–Jozsa algorithm require?1 quantum query, compared to 2^{n−1}+1 deterministic classical queries.
  17. What is the quantum circuit for the Deutsch–Jozsa algorithm?Apply H^{⊗n}, then the phase oracle O_{f,±}, then H^{⊗n}, and measure; outcome 0^n indicates constant.
  18. What is the Bernstein–Vazirani problem?Given f(x) = s·x mod 2 for a hidden string s ∈ {0,1}^n, find s.
  19. How many queries does the Bernstein–Vazirani algorithm need?1 quantum query, compared to n classical queries.
  20. What is the key identity used in Bernstein–Vazirani?H^{⊗n} (1/√(2^n) ∑_x (−1)^{s·x}|x⟩) = |s⟩.
  21. What is a bit-flip oracle?A unitary O_f: |x⟩|y⟩ ↦ |x⟩|y ⊕ f(x)⟩.
  22. How does phase kickback turn a bit flip into a phase flip?Because |−⟩ is an eigenstate of the bit-flip operation, the eigenvalue (−1)^{f(x)} is kicked back onto the control register.
  23. What is the role of the Hadamard transform in Deutsch–Jozsa?It prepares the uniform superposition and later interferes amplitudes so that only the correct outcome has nonzero probability.
  24. What is the role of the Hadamard transform in Bernstein–Vazirani?It maps the phase-encoded state (1/√(2^n))∑_x (−1)^{s·x}|x⟩ to the computational basis state |s⟩.
  25. What is the goal of Grover's unstructured search algorithm?To find a marked item x in f^{-1}(1) among N = 2^n items, where t items are marked, using O(√(N/t)) queries.
  26. What are the two basis states |U⟩ and |M⟩ in the geometric picture of Grover's algorithm?|U⟩ is the uniform superposition over unmarked states, and |M⟩ is the uniform superposition over marked states.
  27. What are the two reflections that compose the Grover iterate G?G = (2|ψ₀⟩⟨ψ₀| - I) O_{f,±}, where O_{f,±} reflects across |U⟩ (flips the sign of |M⟩) and 2|ψ₀⟩⟨ψ₀| - I reflects across |ψ₀⟩.
  28. What is the net effect of applying the Grover iterate G to |ψ₀⟩?It rotates the state by 2θ toward |M⟩: G^k |ψ₀⟩ = cos((2k+1)θ)|U⟩ + sin((2k+1)θ)|M⟩.
  29. What is the optimal number of Grover iterations k?k = ⌊π/(4θ)⌋ = Θ(√(N/t)), which makes (2k+1)θ ≈ π/2.
  30. What is the query complexity of Grover's algorithm when t items are marked among N?Θ(√(N/t)) queries.
  31. What happens if you run Grover's algorithm for more than the optimal number of iterations?Over-rotation occurs: the state rotates past |M⟩ and the success probability decreases (the soufflé problem).
  32. What does the operator 2|ψ₀⟩⟨ψ₀| - I do in Grover's iterate?It reflects the state across the initial uniform superposition |ψ₀⟩.
  33. Why is the product of two reflections in Grover's algorithm a rotation?The product of two reflections is a rotation by twice the angle between the reflection axes; here it rotates by 2θ toward |M⟩.
  34. What is the relationship between θ and the success probability p?sin θ = √(t/N) = √p, so p = sin^2 θ.
  35. What is the amplitude amplification generalization of Grover's algorithm?It generalizes Grover's iterate G = (2|ψ₀⟩⟨ψ₀| - I) O_{f,±} to amplify the amplitude of marked states, with the same rotation-by-2θ geometric picture.
  36. What is the spectral gap δ of a Markov chain?δ = 1 - λ₂, where λ₂ is the second largest eigenvalue of the transition matrix.
  37. What is the marked fraction ε in the context of random walk search?The fraction of marked elements (or states) in the search space.
  38. What is the Szegedy quantum walk?A quantization of a classical random walk on the edges of the bipartite double cover, using two reflection operators around the transition subspaces.
  39. What speedup does the Szegedy quantum walk achieve over classical random walk search?A quadratic speedup in both parameters: O(1/√(δ ε)) steps instead of O(1/(δ ε)).
  40. How does the Szegedy quantum walk achieve its speedup?By using two reflection operators around the transition subspaces of the bipartite double cover, effectively quantizing the walk.
  41. What is the bipartite double cover in the context of Szegedy quantum walk?A graph constructed from the original Markov chain where each state is duplicated, and transitions go between the two copies according to the transition probabilities.
  42. What are the two reflection operators used in Szegedy quantum walk?They are reflections around the subspaces corresponding to the two transition operators of the bipartite double cover.
  43. What is the relationship between the spectral gap and the hitting time in classical random walks?The hitting time scales as O(1/(δ ε)), so a larger spectral gap (faster mixing) reduces the hitting time.
  44. What is an ergodic reversible Markov chain?A Markov chain that is irreducible, aperiodic, and has a stationary distribution satisfying detailed balance.
  45. What is the goal of Hamiltonian simulation?To implement the unitary evolution U = e^{-iHt} for a given Hamiltonian H, typically on a quantum computer.
  46. What are Lie–Trotter–Suzuki product formulas used for?They approximate e^{-iHt} by decomposing H into a sum of simpler terms H_j and applying (∏_j e^{-iH_j t/r})^r.
  47. What does the HHL algorithm solve?It solves the quantum linear system A|x⟩ = |b⟩, preparing a state |x⟩ proportional to A^{-1}|b⟩.
  48. What are the key steps of the HHL algorithm?Phase estimation to resolve eigenvalues of A, an ancilla rotation by arcsin(C/λ_j), post-selection or amplitude amplification, and uncomputation of the eigenvalue register.
  49. What is a block encoding of a matrix A?A unitary U_A that has A in its top-left block: U_A = [[A, ·], [·, ·]], with ‖A‖ ≤ 1.
  50. What does Quantum Singular Value Transformation (QSVT) do?It applies a bounded degree-d polynomial P(A) to the singular values of a block-encoded matrix A using d queries to U_A and U_A^*.
  51. How does QSVT achieve polynomial transformations?By interleaving queries to U_A and U_A^* with single-qubit phase rotations.
  52. What is the condition number κ of a matrix A?The ratio of the largest to smallest singular value (or eigenvalue magnitude for Hermitian matrices), characterizing the sensitivity of the linear system.
  53. What is the role of phase estimation in HHL?It resolves the eigenvalues λ_j of A so that the ancilla can be rotated by an angle depending on 1/λ_j.
  54. Why is post-selection or amplitude amplification needed in HHL?After the ancilla rotation, only the branch with the correct ancilla state corresponds to the solution; post-selection or amplification boosts its probability.
  55. What does the ancilla rotation angle arcsin(C/λ_j) accomplish in HHL?It encodes the inverse eigenvalue 1/λ_j into the amplitude of the ancilla, so that post-selecting the ancilla in the correct state yields the solution state.
  56. What is the input and output of the HHL algorithm?Input: a sparse Hermitian matrix A and a state |b⟩. Output: a state |x⟩ proportional to A^{-1}|b⟩.
  57. What is the significance of block encoding in quantum algorithms?It allows non-unitary matrices to be processed by quantum circuits, enabling QSVT and many quantum linear algebra algorithms.
  58. Why does the polynomial method show Grover's algorithm is optimal?Approximating OR requires a polynomial of degree Ω(√N), and since degree ≤ 2T, this gives T = Ω(√N), matching Grover's algorithm.
  59. What is the key degree bound in the polynomial method (Beals et al.)?After T quantum queries, the acceptance probability is a multilinear polynomial of degree at most 2T.
  60. What problem does the polynomial method reduce query lower bounds to?It reduces them to bounding the minimum degree of a polynomial that approximates the function, such as Ω(√N) for OR.
  61. What is the minimum polynomial degree needed to approximate OR, and what does it imply?Degree Ω(√N), implying a quantum query lower bound of Ω(√N) for OR (Grover's bound is tight).
  62. Which two lower-bound techniques are mentioned for quantum query complexity?The polynomial method (Beals et al.) and the quantum adversary method (Ambainis / negative-weights).
  63. What is a multilinear polynomial in the context of the polynomial method?A real polynomial that is linear in each variable x_i separately, representing the acceptance probability as a function of the input bits.
  64. How does the polynomial method relate query count T to polynomial degree?The degree of the acceptance-probability polynomial is at most 2T, so a degree lower bound implies a query lower bound.
  65. What is the promise in Simon's algorithm?The function satisfies f(x) = f(y) if and only if x ⊕ y ∈ {0^n, s}, where s is a hidden nonzero string.
  66. What is the goal of Simon's algorithm?To find the hidden string s given a function f that satisfies the promise f(x) = f(y) ⇔ x ⊕ y ∈ {0^n, s}.
  67. In Simon's algorithm, what is the state of the input register after measuring the output register?The input register collapses to the superposition (1/√2)(|x₀⟩ + |x₀ ⊕ s⟩) for some x₀.
  68. What is the effect of applying H^{⊗n} to the state (1/√2)(|x₀⟩ + |x₀ ⊕ s⟩) in Simon's algorithm?It cancels all basis states y where y·s = 1, leaving only those y that are orthogonal to s (y·s ≡ 0 mod 2).
  69. What is the condition on the measurement outcome y after applying H^{⊗n} in Simon's algorithm?The measured y satisfies y·s ≡ 0 mod 2, i.e., y is orthogonal to s over F₂.
  70. How many times must Simon's algorithm be repeated to determine s?O(n) times, after which the collected orthogonal vectors can be used to solve for s via linear algebra over F₂.
  71. What is the classical query complexity lower bound for Simon's problem?Ω(2^{n/2}) classical queries are required.
  72. What is the quantum query complexity of Simon's algorithm?O(n) quantum queries, giving an exponential speedup over classical algorithms.
  73. What is the hidden subgroup in Simon's algorithm?The hidden subgroup is {0^n, s} under the group (Z₂)^n.
  74. How does Simon's algorithm achieve an exponential speedup?It uses quantum superposition and the Hadamard transform to extract linear constraints on s, requiring only O(n) queries versus Ω(2^{n/2}) classically.
  75. What linear algebra problem must be solved after collecting measurement outcomes in Simon's algorithm?A system of linear equations over F₂: find nonzero s such that y_i · s = 0 for all collected y_i.
  76. Why does measuring the output register in Simon's algorithm collapse the input register to a superposition of two states?Because the function is two-to-one with f(x) = f(x ⊕ s), so the output is consistent with exactly two input values differing by s.
  77. What is the significance of the Hadamard transform in Simon's algorithm?It transforms the input superposition into a superposition of states orthogonal to s, allowing measurement to yield linear constraints on s.
  78. What does the notation y·s ≡ 0 mod 2 mean in Simon's algorithm?It means the bitwise inner product of y and s is even, i.e., y and s are orthogonal over F₂.
  79. What is the group in Simon's problem?(Z₂)^n, the n-dimensional vector space over F₂ under bitwise XOR.
  80. What is the hidden subgroup problem in Simon's algorithm?Given a function f on (Z₂)^n that is constant on cosets of a hidden subgroup H = {0^n, s}, find H (or equivalently, s).
  81. What is the Quantum Fourier Transform (QFT) over Z_N, where N = 2^n?QFT_N |x⟩ = (1/√N) Σ_{y=0}^{N-1} ω_N^{xy} |y⟩, where ω_N = e^{2πi/N}.
  82. How does the QFT factorize into single-qubit states?It factorizes into a tensor product of n single-qubit states: ⊗_{k=1}^n (|0⟩ + e^{2πi·0.x_{n-k+1}…x_n}|1⟩)/√2.
  83. What is the gate complexity of the QFT on n qubits?O(n^2) gates, using Hadamards and controlled phase rotations.
  84. How does the gate complexity of the QFT compare to the classical FFT?QFT uses O(n^2) gates, while the classical FFT uses O(n 2^n) gates.
  85. What is the goal of Quantum Phase Estimation (QPE)?To estimate the phase φ in U|ψ⟩ = e^{2πiφ}|ψ⟩, where φ ∈ [0,1), given a unitary U and eigenvector |ψ⟩.
  86. What gates does QPE use to prepare the state (1/√(2^m)) Σ_{k=0}^{2^m-1} e^{2πikφ}|k⟩|ψ⟩?Controlled-U^{2^j} gates.
  87. After preparing the state in QPE, what operation is applied to read out an m-bit approximation of φ?The inverse QFT, QFT_{2^m}^{-1}.
  88. What is the phase ω_N in the QFT definition?ω_N = e^{2πi/N}.
  89. What is the output of QPE?An m-bit approximation of the phase φ.
  90. What is the range of the phase φ in QPE?φ ∈ [0, 1).
  91. What is the first step in reducing factoring N to order finding?Pick a random a in Z_N^* and find its multiplicative order r, the smallest k ≥ 1 with a^k ≡ 1 (mod N).
  92. Under what conditions does the order r of a random a yield a nontrivial factor of N?When r is even and a^(r/2) is not congruent to -1 (mod N); this happens with probability at least 1/2.
  93. Given an even order r with a^(r/2) ≠ -1 (mod N), how do you extract a factor of N?Compute gcd(a^(r/2) − 1, N) and gcd(a^(r/2) + 1, N); at least one yields a nontrivial factor of N.
  94. What unitary is used in quantum order finding for factoring?The modular multiplication unitary U_a|y⟩ = |a·y mod N⟩, whose eigenvalues are e^(2πi s/r) for 0 ≤ s < r.
  95. How does Shor's algorithm obtain information about the order r from the modular multiplication unitary?Apply quantum phase estimation to U_a with precision 2^m ≈ N^2, producing a measured phase from which s/r can be recovered.
  96. What is the role of the Continued Fractions Algorithm in Shor's algorithm?It is applied to the measured phase fraction to recover the rational s/r, from which the order r is extracted.
  97. What precision does the phase estimation step require in Shor's order finding?Precision 2^m ≈ N^2, i.e., roughly twice as many bits as N.
  98. What does the multiplicative order r of a modulo N mean?r = min{k ≥ 1 : a^k ≡ 1 (mod N)}, the smallest positive exponent returning a to 1 modulo N.
  99. Why must a be chosen from Z_N^* (coprime to N) in the factoring reduction?Because the order of a modulo N is only defined when gcd(a, N) = 1; if gcd(a, N) > 1, that gcd already gives a factor of N.
  100. What is the success probability that a random a gives an even order r with a^(r/2) ≠ −1 (mod N)?At least 1/2, so a few random choices suffice with high probability.
  101. What are the eigenvalues of the modular multiplication unitary U_a|y⟩ = |a y mod N⟩?e^(2πi s/r) for 0 ≤ s < r, where r is the multiplicative order of a modulo N.
  102. What quantum subroutine underlies Shor's order finding?Quantum phase estimation (QPE) applied to the modular multiplication unitary U_a.
  103. How does Shor's algorithm relate factoring to order finding?Factoring N reduces to finding the multiplicative order of a random element a in Z_N^*, since gcd(a^(r/2) ± 1, N) yields a factor with probability ≥ 1/2.

Velocer est gratuit : répétition espacée et vos propres cartes à partir de n'importe quel document.

PDF to flashcards · Lecture to flashcards · Practice exam · Syllabus study plan · Anki import

Plus de paquets de University of Wisconsin–Madison