1. Home
  2. Explore
  3. Computer Science
  4. Quantum Circuit Model

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Quantum Circuit Model

  • 33Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Quantum Circuit Model

In the quantum circuit model, what do the wires represent?

33 questions

  1. 1

    In the quantum circuit model, what do the wires represent?

    1. A

      Classical bits

    2. B

      Measurement outcomes

    3. C

      Qubits

    4. D

      Quantum gates

    Correct answer
    C

    Qubits

    Explanation

    In the quantum circuit model, wires represent qubits, which carry quantum information.

  2. 2

    What is the convention for qubit ordering in quantum circuit diagrams in this series?

    1. A

      Bottom to top corresponds to left to right in a tensor product

    2. B

      Right to left corresponds to bottom to top in a tensor product

    3. C

      Top to bottom corresponds to left to right in a tensor product

    4. D

      Left to right corresponds to top to bottom in a tensor product

    Correct answer
    A

    Bottom to top corresponds to left to right in a tensor product

    Explanation

    The convention is that bottom-to-top ordering in a quantum circuit diagram is equivalent to left-to-right ordering in a tuple or tensor product.

  3. 3

    In a quantum circuit, information flows:

    1. A

      In any direction

    2. B

      Only vertically

    3. C

      From left to right

    4. D

      From right to left

    Correct answer
    C

    From left to right

    Explanation

    Quantum circuits are acyclic and information flows from left to right, representing the sequence of operations in time.

  4. 4

    Which of the following is NOT a gate used in the quantum circuit model as described?

    1. A

      Fourier gate

    2. B

      Toffoli gate

    3. C

      Controlled NOT gate

    4. D

      Hadamard gate

    Correct answer
    A

    Fourier gate

    Explanation

    The lesson mentions Hadamard, Controlled NOT, Toffoli, Fredkin, and swap gates. Fourier gate is not introduced here.

  5. 5

    How is a controlled-U gate typically denoted in a quantum circuit?

    1. A

      A circle with 'U' and a plus sign on the target

    2. B

      A diamond with 'U' and an open circle on the control

    3. C

      A rectangle with 'U' and a solid circle connected to the control qubit

    4. D

      A triangle with 'U' and a solid circle on the target

    Correct answer
    C

    A rectangle with 'U' and a solid circle connected to the control qubit

    Explanation

    A controlled-U gate is drawn as a rectangle labeled U with a solid circle on the control qubit connected by a vertical line.

  6. 6

    Which gate is represented by a symbol with a filled circle (control) and a circle with a plus sign (target)?

    1. A

      Hadamard gate

    2. B

      Toffoli gate

    3. C

      Controlled NOT gate

    4. D

      Swap gate

    Correct answer
    C

    Controlled NOT gate

    Explanation

    The Controlled NOT (CNOT) gate is denoted by a filled circle on the control qubit and a circle with a plus sign on the target qubit.

  7. 7

    What is the shorthand notation for a measurement when the measured qubit is discarded afterward?

    1. A

      A measurement gate with a qubit input and a classical bit output

    2. B

      Neither is ever used

    3. C

      The qubit line is terminated and a double line carries the classical bit

    4. D

      Both are valid shorthand notations

    Correct answer
    D

    Both are valid shorthand notations

    Explanation

    The lesson states that both styles are used: one where the qubit continues with double lines, and a shorthand where only the classical bit appears after measurement.

  8. 8

    How is the inner product of two vectors ∣ψ⟩|\psi\rangle∣ψ⟩ and ∣ϕ⟩|\phi\rangle∣ϕ⟩ expressed in Dirac notation?

    1. A

      ∣ϕ⟩⟨ψ∣|\phi\rangle\langle \psi|∣ϕ⟩⟨ψ∣

    2. B

      ⟨ϕ∣ψ⟩\langle \phi | \psi \rangle⟨ϕ∣ψ⟩

    3. C

      ⟨ψ∣ϕ⟩\langle \psi | \phi \rangle⟨ψ∣ϕ⟩

    4. D

      ∣ψ⟩⟨ϕ∣|\psi\rangle\langle \phi|∣ψ⟩⟨ϕ∣

    Correct answer
    C

    ⟨ψ∣ϕ⟩\langle \psi | \phi \rangle⟨ψ∣ϕ⟩

    Explanation

    The inner product is written as ⟨ψ∣ϕ⟩\langle \psi | \phi \rangle⟨ψ∣ϕ⟩, which is the product of the bra ⟨ψ∣\langle \psi|⟨ψ∣ and the ket ∣ϕ⟩|\phi\rangle∣ϕ⟩.

  9. 9

    The inner product is conjugate symmetric, meaning:

    1. A

      ⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩\langle \psi | \phi \rangle = \langle \phi | \psi \rangle⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩

    2. B

      ⟨ψ∣ϕ⟩=−⟨ϕ∣ψ⟩\langle \psi | \phi \rangle = -\langle \phi | \psi \rangle⟨ψ∣ϕ⟩=−⟨ϕ∣ψ⟩

    3. C

      ⟨ψ∣ϕ⟩=0\langle \psi | \phi \rangle = 0⟨ψ∣ϕ⟩=0 if the vectors are orthogonal

    4. D

      ⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩∗\langle \psi | \phi \rangle = \langle \phi | \psi \rangle^*⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩∗

    Correct answer
    D

    ⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩∗\langle \psi | \phi \rangle = \langle \phi | \psi \rangle^*⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩∗

    Explanation

    Conjugate symmetry means ⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩‾\langle \psi | \phi \rangle = \overline{\langle \phi | \psi \rangle}⟨ψ∣ϕ⟩=⟨ϕ∣ψ⟩​.

  10. 10

    In which argument is the inner product linear?

    1. A

      Neither argument

    2. B

      Second argument

    3. C

      First argument

    4. D

      Both arguments

    Correct answer
    B

    Second argument

    Explanation

    The inner product is linear in the second argument: ⟨ψ∣(a∣ϕ1⟩+b∣ϕ2⟩)=a⟨ψ∣ϕ1⟩+b⟨ψ∣ϕ2⟩\langle \psi | (a|\phi_1\rangle + b|\phi_2\rangle) = a\langle \psi|\phi_1\rangle + b\langle \psi|\phi_2\rangle⟨ψ∣(a∣ϕ1​⟩+b∣ϕ2​⟩)=a⟨ψ∣ϕ1​⟩+b⟨ψ∣ϕ2​⟩.

  11. 11

    The Cauchy-Schwarz inequality states that for any vectors ∣ψ⟩|\psi\rangle∣ψ⟩ and ∣ϕ⟩|\phi\rangle∣ϕ⟩:

    1. A

      ∣⟨ψ∣ϕ⟩∣≤∥ψ∥∥ϕ∥|\langle \psi | \phi \rangle| \leq \|\psi\| \|\phi\|∣⟨ψ∣ϕ⟩∣≤∥ψ∥∥ϕ∥

    2. B

      ⟨ψ∣ϕ⟩=∥ψ∥∥ϕ∥\langle \psi | \phi \rangle = \|\psi\| \|\phi\|⟨ψ∣ϕ⟩=∥ψ∥∥ϕ∥ for unit vectors

    3. C

      ∣⟨ψ∣ϕ⟩∣≥∥ψ∥∥ϕ∥|\langle \psi | \phi \rangle| \geq \|\psi\| \|\phi\|∣⟨ψ∣ϕ⟩∣≥∥ψ∥∥ϕ∥

    4. D

      ⟨ψ∣ϕ⟩≤∥ψ∥∥ϕ∥\langle \psi | \phi \rangle \leq \|\psi\| \|\phi\|⟨ψ∣ϕ⟩≤∥ψ∥∥ϕ∥

    Correct answer
    A

    ∣⟨ψ∣ϕ⟩∣≤∥ψ∥∥ϕ∥|\langle \psi | \phi \rangle| \leq \|\psi\| \|\phi\|∣⟨ψ∣ϕ⟩∣≤∥ψ∥∥ϕ∥

    Explanation

    Cauchy-Schwarz: ∣⟨ψ∣ϕ⟩∣≤∥ψ∥∥ϕ∥|\langle \psi | \phi \rangle| \leq \|\psi\| \|\phi\|∣⟨ψ∣ϕ⟩∣≤∥ψ∥∥ϕ∥, with equality if the vectors are linearly dependent.

  12. 12

    For real vectors, the inner product ⟨ψ∣ϕ⟩\langle \psi | \phi \rangle⟨ψ∣ϕ⟩ is equal to:

    1. A

      The sine of the angle between them

    2. B

      The cosine of the angle between them times the product of their norms

    3. C

      The cross product of the vectors

    4. D

      The dot product of the vectors

    Correct answer
    B

    The cosine of the angle between them times the product of their norms

    Explanation

    For real vectors, ⟨ψ∣ϕ⟩=∥ψ∥∥ϕ∥cos⁡θ\langle \psi | \phi \rangle = \|\psi\| \|\phi\| \cos \theta⟨ψ∣ϕ⟩=∥ψ∥∥ϕ∥cosθ, where θ\thetaθ is the angle between them.

  13. 13

    Two vectors are orthogonal if their inner product is:

    1. A

      1

    2. B

      Imaginary

    3. C

      0

    4. D

      -1

    Correct answer
    C

    0

    Explanation

    Orthogonality is defined by ⟨ψ∣ϕ⟩=0\langle \psi | \phi \rangle = 0⟨ψ∣ϕ⟩=0.

  14. 14

    An orthonormal set is:

    1. A

      A set of unit vectors that are not necessarily orthogonal

    2. B

      A set of linearly independent vectors

    3. C

      A set of orthogonal vectors of any length

    4. D

      A set of orthogonal unit vectors

    Correct answer
    D

    A set of orthogonal unit vectors

    Explanation

    An orthonormal set requires each vector to be a unit vector and any two distinct vectors to be orthogonal.

  15. 15

    Which of the following is an orthonormal basis for a single qubit?

    1. A

      Both a and b

    2. B

      {∣0⟩,∣+⟩}\{|0\rangle, |+\rangle\}{∣0⟩,∣+⟩}

    3. C

      {∣+⟩,∣−⟩}\{|+\rangle, |-\rangle\}{∣+⟩,∣−⟩}

    4. D

      {∣0⟩,∣1⟩}\{|0\rangle, |1\rangle\}{∣0⟩,∣1⟩}

    Correct answer
    A

    Both a and b

    Explanation

    Both the standard basis {∣0⟩,∣1⟩}\{|0\rangle, |1\rangle\}{∣0⟩,∣1⟩} and the Hadamard basis {∣+⟩,∣−⟩}\{|+\rangle, |-\rangle\}{∣+⟩,∣−⟩} are orthonormal bases for a qubit.

  16. 16

    The columns of a unitary matrix form:

    1. A

      A linearly dependent set

    2. B

      A set of orthogonal but not necessarily unit vectors

    3. C

      A basis but not necessarily orthonormal

    4. D

      An orthonormal basis

    Correct answer
    D

    An orthonormal basis

    Explanation

    A unitary matrix UUU satisfies U†U=IU^\dagger U = IU†U=I, which implies its columns form an orthonormal set, and because the matrix is square, they form an orthonormal basis.

  17. 17

    A projection matrix Π\PiΠ must satisfy which two conditions?

    1. A

      Π=Π⊤\Pi = \Pi^\topΠ=Π⊤ and Π2=I\Pi^2 = IΠ2=I

    2. B

      Π=Π†\Pi = \Pi^\daggerΠ=Π† and Π2=Π\Pi^2 = \PiΠ2=Π

    3. C

      Π=Π−1\Pi = \Pi^{-1}Π=Π−1 and Π=Π†\Pi = \Pi^\daggerΠ=Π†

    4. D

      Π=Π∗\Pi = \Pi^*Π=Π∗ and Π2=0\Pi^2 = 0Π2=0

    Correct answer
    B

    Π=Π†\Pi = \Pi^\daggerΠ=Π† and Π2=Π\Pi^2 = \PiΠ2=Π

    Explanation

    A projection is Hermitian (Π=Π†\Pi = \Pi^\daggerΠ=Π†) and idempotent (Π2=Π\Pi^2 = \PiΠ2=Π).

  18. 18

    The matrix ∣ψ⟩⟨ψ∣|\psi\rangle\langle \psi|∣ψ⟩⟨ψ∣ is a projection if:

    1. A

      ∣ψ⟩|\psi\rangle∣ψ⟩ has real entries

    2. B

      ∣ψ⟩|\psi\rangle∣ψ⟩ is any vector

    3. C

      ∣ψ⟩|\psi\rangle∣ψ⟩ is a unit vector

    4. D

      ∣ψ⟩|\psi\rangle∣ψ⟩ is orthogonal to itself

    Correct answer
    C

    ∣ψ⟩|\psi\rangle∣ψ⟩ is a unit vector

    Explanation

    For ∣ψ⟩⟨ψ∣|\psi\rangle\langle \psi|∣ψ⟩⟨ψ∣ to be idempotent, ⟨ψ∣ψ⟩=1\langle \psi|\psi\rangle = 1⟨ψ∣ψ⟩=1, so ∣ψ⟩|\psi\rangle∣ψ⟩ must be a unit vector.

  19. 19

    A projective measurement is defined by a set of projections that:

    1. A

      Are all Hermitian

    2. B

      Are all orthogonal to each other

    3. C

      Sum to the identity matrix

    4. D

      Have trace 1 each

    Correct answer
    C

    Sum to the identity matrix

    Explanation

    The defining condition for a projective measurement is that the projections sum to the identity: ∑kΠk=I\sum_k \Pi_k = I∑k​Πk​=I.

  20. 20

    For a projective measurement with projections {Πk}\{\Pi_k\}{Πk​}, the probability of outcome kkk given state ∣ψ⟩|\psi\rangle∣ψ⟩ is:

    1. A

      Both a and b are equivalent

    2. B

      ∣⟨ψ∣Πk∣ψ⟩∣2|\langle \psi | \Pi_k | \psi \rangle|^2∣⟨ψ∣Πk​∣ψ⟩∣2

    3. C

      ∥Πk∣ψ⟩∥2\|\Pi_k |\psi\rangle\|^2∥Πk​∣ψ⟩∥2

    4. D

      ⟨ψ∣Πk∣ψ⟩\langle \psi | \Pi_k | \psi \rangle⟨ψ∣Πk​∣ψ⟩

    Correct answer
    A

    Both a and b are equivalent

    Explanation

    The probability is ∥Πk∣ψ⟩∥2\|\Pi_k |\psi\rangle\|^2∥Πk​∣ψ⟩∥2, and since Πk\Pi_kΠk​ is a projection, this equals ⟨ψ∣Πk∣ψ⟩\langle \psi|\Pi_k|\psi\rangle⟨ψ∣Πk​∣ψ⟩.

  21. 21

    After a projective measurement yields outcome kkk, the state collapses to:

    1. A

      Πk∣ψ⟩∥Πk∣ψ⟩∥\frac{\Pi_k |\psi\rangle}{\|\Pi_k |\psi\rangle\|}∥Πk​∣ψ⟩∥Πk​∣ψ⟩​

    2. B

      ∣ψ⟩⟨ψ∣Πk|\psi\rangle\langle \psi| \Pi_k∣ψ⟩⟨ψ∣Πk​

    3. C

      Πk∣ψ⟩\Pi_k |\psi\rangleΠk​∣ψ⟩

    4. D

      ∣ψ⟩|\psi\rangle∣ψ⟩

    Correct answer
    A

    Πk∣ψ⟩∥Πk∣ψ⟩∥\frac{\Pi_k |\psi\rangle}{\|\Pi_k |\psi\rangle\|}∥Πk​∣ψ⟩∥Πk​∣ψ⟩​

    Explanation

    The post-measurement state is the normalized projection: Πk∣ψ⟩∥Πk∣ψ⟩∥\frac{\Pi_k |\psi\rangle}{\|\Pi_k |\psi\rangle\|}∥Πk​∣ψ⟩∥Πk​∣ψ⟩​.

  22. 22

    Standard basis measurements are a special case of projective measurements with projections given by:

    1. A

      The zero matrix

    2. B

      ∣a⟩⟨a∣|a\rangle\langle a|∣a⟩⟨a∣ for each basis state aaa

    3. C

      ∣a⟩⟨b∣|a\rangle\langle b|∣a⟩⟨b∣ for different basis states

    4. D

      The identity matrix

    Correct answer
    B

    ∣a⟩⟨a∣|a\rangle\langle a|∣a⟩⟨a∣ for each basis state aaa

    Explanation

    A standard basis measurement corresponds to the projections Πa=∣a⟩⟨a∣\Pi_a = |a\rangle\langle a|Πa​=∣a⟩⟨a∣ for each classical state aaa.

  23. 23

    Two quantum state vectors that differ by a global phase:

    1. A

      Are completely indistinguishable by any measurement

    2. B

      Have different probabilities for some measurement outcomes

    3. C

      Can be distinguished by a projective measurement

    4. D

      Are orthogonal

    Correct answer
    A

    Are completely indistinguishable by any measurement

    Explanation

    States differing by a global phase have identical measurement statistics and unitary evolution, so they are physically indistinguishable.

  24. 24

    If ∣ϕ⟩=α∣ψ⟩|\phi\rangle = \alpha |\psi\rangle∣ϕ⟩=α∣ψ⟩ with ∣α∣=1|\alpha| = 1∣α∣=1, the states are said to differ by:

    1. A

      A local phase

    2. B

      A global phase

    3. C

      A relative phase

    4. D

      An orthogonal transformation

    Correct answer
    B

    A global phase

    Explanation

    When two vectors are proportional by a complex number of unit modulus, they differ by a global phase.

  25. 25

    Which of the following pairs differ by a global phase?

    1. A

      ∣0⟩|0\rangle∣0⟩ and ∣1⟩|1\rangle∣1⟩

    2. B

      ∣0⟩|0\rangle∣0⟩ and ∣+⟩|+\rangle∣+⟩

    3. C

      −∣ψ⟩-|\psi\rangle−∣ψ⟩ and ∣ψ⟩|\psi\rangle∣ψ⟩

    4. D

      ∣+⟩|+\rangle∣+⟩ and ∣−⟩|-\rangle∣−⟩

    Correct answer
    C

    −∣ψ⟩-|\psi\rangle−∣ψ⟩ and ∣ψ⟩|\psi\rangle∣ψ⟩

    Explanation

    −∣ψ⟩-|\psi\rangle−∣ψ⟩ is ∣ψ⟩|\psi\rangle∣ψ⟩ multiplied by −1-1−1, which is a global phase (since ∣−1∣=1|-1|=1∣−1∣=1).

  26. 26

    The no-cloning theorem states that:

    1. A

      It is impossible to copy any quantum state

    2. B

      It is impossible to copy orthogonal quantum states

    3. C

      It is impossible to copy arbitrary quantum states

    4. D

      It is impossible to copy classical bits

    Correct answer
    C

    It is impossible to copy arbitrary quantum states

    Explanation

    The no-cloning theorem says there is no unitary operation that clones an arbitrary unknown quantum state.

  27. 27

    Why does the no-cloning theorem hold?

    1. A

      Because unitary operations are reversible

    2. B

      Because measurements disturb the state

    3. C

      Because quantum states are fragile

    4. D

      Because the required transformation is not linear

    Correct answer
    D

    Because the required transformation is not linear

    Explanation

    Cloning requires a non-linear transformation, but unitary operations are linear, so it is impossible.

  28. 28

    Which gate can clone standard basis states of a qubit?

    1. A

      Controlled NOT gate

    2. B

      Hadamard gate

    3. C

      Swap gate

    4. D

      Toffoli gate

    Correct answer
    A

    Controlled NOT gate

    Explanation

    A Controlled NOT gate copies the standard basis states: it maps ∣0⟩∣0⟩|0\rangle|0\rangle∣0⟩∣0⟩ to ∣0⟩∣0⟩|0\rangle|0\rangle∣0⟩∣0⟩ and ∣1⟩∣0⟩|1\rangle|0\rangle∣1⟩∣0⟩ to ∣1⟩∣1⟩|1\rangle|1\rangle∣1⟩∣1⟩.

  29. 29

    The no-cloning theorem also applies to probabilistic classical states. True or False?

    1. A

      False, probabilistic states are linear

    2. B

      True, but only for quantum states

    3. C

      True, because cloning probabilistic states would require nonlinearity

    4. D

      False, because classical states can always be copied

    Correct answer
    C

    True, because cloning probabilistic states would require nonlinearity

    Explanation

    The lesson states that the impossibility of cloning probabilistic classical states follows from the same linearity argument as in the quantum case.

  30. 30

    Two quantum states can be perfectly discriminated if and only if they are:

    1. A

      Non-orthogonal

    2. B

      Linearly dependent

    3. C

      Equal

    4. D

      Orthogonal

    Correct answer
    D

    Orthogonal

    Explanation

    Perfect discrimination is possible exactly when the states are orthogonal; non-orthogonal states cannot be perfectly distinguished.

  31. 31

    The impossibility of perfectly discriminating non-orthogonal states is a consequence of:

    1. A

      Linearity and unitarity

    2. B

      The Heisenberg uncertainty principle

    3. C

      The collapse postulate

    4. D

      The no-cloning theorem

    Correct answer
    A

    Linearity and unitarity

    Explanation

    The proof uses the inner product and unitarity to show that if discrimination were possible, the states must be orthogonal.

  32. 32

    To perfectly discriminate two orthogonal states, one can use:

    1. A

      A projective measurement with projections onto the states

    2. B

      A unitary operation that maps them to standard basis states

    3. C

      A swap gate

    4. D

      Both a and b are valid methods

    Correct answer
    D

    Both a and b are valid methods

    Explanation

    Either a unitary followed by standard basis measurement or a projective measurement (e.g., ∣ψ⟩⟨ψ∣|\psi\rangle\langle \psi|∣ψ⟩⟨ψ∣ and its complement) can discriminate orthogonal states perfectly.

  33. 33

    If ∣ψ⟩|\psi\rangle∣ψ⟩ and ∣ϕ⟩|\phi\rangle∣ϕ⟩ are orthogonal, then there exists a projective measurement that gives outcome 0 for ∣ψ⟩|\psi\rangle∣ψ⟩ and 1 for ∣ϕ⟩|\phi\rangle∣ϕ⟩ with certainty. True or False?

    1. A

      False, because non-orthogonal states cannot be discriminated

    2. B

      True, as shown by the projection Π0=∣ψ⟩⟨ψ∣\Pi_0 = |\psi\rangle\langle \psi|Π0​=∣ψ⟩⟨ψ∣

    3. C

      True, but only if they are standard basis states

    4. D

      False, because the measurement would also disturb the state

    Correct answer
    B

    True, as shown by the projection Π0=∣ψ⟩⟨ψ∣\Pi_0 = |\psi\rangle\langle \psi|Π0​=∣ψ⟩⟨ψ∣

    Explanation

    Using Π0=∣ψ⟩⟨ψ∣\Pi_0 = |\psi\rangle\langle \psi|Π0​=∣ψ⟩⟨ψ∣ and Π1=I−Π0\Pi_1 = I - \Pi_0Π1​=I−Π0​ gives a projective measurement that discriminates ∣ψ⟩|\psi\rangle∣ψ⟩ from any orthogonal state with certainty.

Question 1 of 33
Question 1 of 33

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent