1. Home
  2. Explore
  3. Computer Science
  4. Atos Quantum Learning Machine

Study methods

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

Atos Quantum Learning Machine

  • 70Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: QLM Platform

What is the Atos Quantum Learning Machine (QLM) primarily designed to do?

70 questions

  1. 1

    What is the Atos Quantum Learning Machine (QLM) primarily designed to do?

    1. A

      Translate quantum algorithms into conventional web applications

    2. B

      Classically simulate quantum computers and support quantum-programming workflows

    3. C

      Build physical quantum processors from classical computer components

    4. D

      Replace classical optimization with quantum-only computation

    Correct answer
    B

    Classically simulate quantum computers and support quantum-programming workflows

    Explanation

    QLM is a classical platform for simulating quantum computers. It also includes programming and optimization tools for quantum circuits.

  2. 2

    What distinguishes myQLM from the larger QLM described in the presentation?

    1. A

      myQLM is limited to Qiskit circuits, while QLM is limited to Cirq circuits

    2. B

      myQLM is a laptop version for toy circuits, while QLM can provide more powerful simulation capabilities

    3. C

      myQLM supports optimization, while QLM supports only circuit visualization

    4. D

      myQLM runs only on quantum hardware, while QLM runs only on classical hardware

    Correct answer
    B

    myQLM is a laptop version for toy circuits, while QLM can provide more powerful simulation capabilities

    Explanation

    myQLM is the laptop version, suitable for small circuits and experimenting with variational algorithms. The larger QLM server provides more powerful simulation capabilities, including full noisy simulation.

  3. 3

    Why does QLM include circuit-optimization tools that account for hardware constraints?

    1. A

      A quantum circuit cannot be represented without specifying its hardware vendor

    2. B

      A circuit may need to be adapted to the capabilities and constraints of the target hardware

    3. C

      A circuit must be made longer before any simulator can execute it

    4. D

      Hardware constraints determine the mathematical definition of the algorithm

    Correct answer
    B

    A circuit may need to be adapted to the capabilities and constraints of the target hardware

    Explanation

    Compilation and optimization can adapt hardware-agnostic programs to hardware-specific constraints, such as connectivity.

  4. 4

    What is the significance of QLM's interoperability with frameworks such as Qiskit and Cirq?

    1. A

      Programs and circuits can be transferred between frameworks and run or optimized using different tools

    2. B

      Interoperability allows circuits to run without specifying a backend

    3. C

      Each framework must use the same simulator and optimization algorithm

    4. D

      Programs written in one framework are automatically converted into physical quantum devices

    Correct answer
    A

    Programs and circuits can be transferred between frameworks and run or optimized using different tools

    Explanation

    The presentation describes using QLM programs with other backends and using Qiskit circuits with QLM simulators or compilers.

  5. 5

    In the described variational workflow, what does the variational plugin enable a QPU interface to do?

    1. A

      Replace quantum gates with classical logic gates

    2. B

      Choose a hardware backend without receiving a circuit or objective

    3. C

      Optimize circuit parameters to reduce the expected value of a supplied Hamiltonian

    4. D

      Convert every Hamiltonian into a measurement-free circuit

    Correct answer
    C

    Optimize circuit parameters to reduce the expected value of a supplied Hamiltonian

    Explanation

    The plugin allows the QPU interface to handle a parameterized circuit and Hamiltonian as a variational job, optimizing the angles to minimize energy.

  6. 6

    What does a perfect linear-algebra quantum simulator calculate for a circuit?

    1. A

      Only circuits that can be executed on physical quantum hardware

    2. B

      An ideal, noise-free simulation of the circuit's quantum state or outputs

    3. C

      A classical approximation that excludes all gate operations

    4. D

      Only the effects of readout errors on measured bitstrings

    Correct answer
    B

    An ideal, noise-free simulation of the circuit's quantum state or outputs

    Explanation

    The linear-algebra simulator described in the talk performs a perfect simulation, meaning it models ideal circuit operations without noise.

  7. 7

    Why was QLM's large amount of RAM emphasized as useful for simulation?

    1. A

      It removes the need to represent quantum states during simulation

    2. B

      It converts distributed processors into quantum processors

    3. C

      It supports simulations that require substantial memory to represent quantum states or intermediate data

    4. D

      It guarantees that every circuit can be simulated in constant time

    Correct answer
    C

    It supports simulations that require substantial memory to represent quantum states or intermediate data

    Explanation

    Quantum simulation can require substantial memory, and the QLM was described as a large-RAM machine suited to powerful simulations.

  8. 8

    Which simulator approaches were identified as options for ideal circuit simulation in QLM?

    1. A

      Only linear algebra and physical quantum sampling

    2. B

      Linear-algebra, stabilizer or Clifford-based, and matrix-product-state approaches

    3. C

      Only stabilizer simulation and analog hardware execution

    4. D

      Matrix-product-state, database lookup, and web-based simulation

    Correct answer
    B

    Linear-algebra, stabilizer or Clifford-based, and matrix-product-state approaches

    Explanation

    The talk identified linear-algebra, stabilizer or Clifford-based, and matrix-products-state simulators as ideal simulation approaches available in QLM.

  9. 9

    For what kind of circuits can matrix-product-state simulation be especially useful, according to the presentation?

    1. A

      Circuits whose entanglement does not become too large

    2. B

      Circuits containing no qubits or gates

    3. C

      Circuits that require a separate physical processor for each gate

    4. D

      Circuits whose readout is always perfectly noisy

    Correct answer
    A

    Circuits whose entanglement does not become too large

    Explanation

    The presentation noted that matrix-product-state simulators can help simulate circuits that do not have too high a level of entanglement.

  10. 10

    What does the QLM-as-a-Service arrangement allow a user with laptop myQLM to do?

    1. A

      Turn the laptop itself into a physical quantum processor

    2. B

      Write a program locally and use a larger QLM server for more capable simulation

    3. C

      Use only noiseless simulations and disable server-side tools

    4. D

      Avoid sending any computation to a remote server

    Correct answer
    B

    Write a program locally and use a larger QLM server for more capable simulation

    Explanation

    myQLM can connect to a larger QLM server, allowing a user to write a program on a laptop and run more powerful simulations remotely.

  11. 11

    What makes a quantum processor 'noisy' in the NISQ context described?

    1. A

      Its classical control computer has no memory

    2. B

      Its qubits always begin in an entangled state

    3. C

      Its initialization, gates, or readout may be imperfect

    4. D

      Its circuits cannot contain parameterized gates

    Correct answer
    C

    Its initialization, gates, or readout may be imperfect

    Explanation

    The talk describes noise as imperfections in initialization, quantum operations, and readout.

  12. 12

    What is the purpose of a noise model in quantum simulation?

    1. A

      To represent errors that can affect quantum operations or measurements

    2. B

      To remove all gates that create entanglement

    3. C

      To specify only the classical optimizer's starting parameters

    4. D

      To guarantee that every simulated result is an exact ground state

    Correct answer
    A

    To represent errors that can affect quantum operations or measurements

    Explanation

    Noise models describe errors such as imperfect gates, initialization, and readout so their effects can be simulated.

  13. 13

    In the tutorial's simple noisy simulator, when was depolarizing noise applied?

    1. A

      Only after the classical optimizer updated its parameters

    2. B

      After each one-qubit and two-qubit gate

    3. C

      Only when the final bitstring was read out

    4. D

      Only before the first gate in the circuit

    Correct answer
    B

    After each one-qubit and two-qubit gate

    Explanation

    The tutorial plugin added depolarizing noise after each one-qubit and two-qubit gate.

  14. 14

    How did the noisy QPU interface differ from the perfect QPU interface in the tutorial?

    1. A

      It returned exact state amplitudes instead of measurement statistics

    2. B

      It accepted a job and returned a result in the same general way, while incorporating errors

    3. C

      It accepted only Hamiltonians and could not run circuits

    4. D

      It required a different variational algorithm and a new job format

    Correct answer
    B

    It accepted a job and returned a result in the same general way, while incorporating errors

    Explanation

    The noisy QPU was described as working like the perfect QPU at the interface level: it takes a job and returns results, but includes noise.

  15. 15

    Why did the noisy variational simulation take longer than the perfect simulation?

    1. A

      The noisy QPU had to compile the Hamiltonian into a new programming language

    2. B

      It used fewer circuit evaluations but required no state representation

    3. C

      Depolarizing noise eliminated the need for classical optimization

    4. D

      It involved stochastic sampling and repeated circuit evaluations during optimization

    Correct answer
    D

    It involved stochastic sampling and repeated circuit evaluations during optimization

    Explanation

    The noisy simulation was stochastic and variational, so it required sampling and repeated evaluations as the optimizer searched over parameters.

  16. 16

    What happened to the optimized energy in the tutorial when depolarizing noise was included?

    1. A

      It was about −2.77-2.77−2.77, rather than the ideal value of −3-3−3

    2. B

      It was about +3+3+3, reversing the sign of the ideal energy

    3. C

      It became exactly 000 because depolarizing noise removes energy

    4. D

      It remained exactly −3-3−3 because the noise was simulated

    Correct answer
    A

    It was about −2.77-2.77−2.77, rather than the ideal value of −3-3−3

    Explanation

    The noisy run produced a final energy of approximately −2.77-2.77−2.77, which was offset from the ideal ground-state energy of −3-3−3.

  17. 17

    Which comparison is useful when evaluating a noisy VQE run?

    1. A

      Whether it avoids measuring any observables

    2. B

      Whether it reaches the desired energy and how quickly its energy converges

    3. C

      Whether its circuit has a larger file size than the ideal circuit

    4. D

      Whether it uses more qubits than the classical optimizer has parameters

    Correct answer
    B

    Whether it reaches the desired energy and how quickly its energy converges

    Explanation

    The presentation recommends examining both whether noisy VQE approaches the target energy and how its energy changes over optimization steps.

  18. 18

    What is one way the QLM noise framework allows users to specify gate noise?

    1. A

      They must infer gate noise from the final energy alone

    2. B

      They must use one fixed noise model supplied by the simulator

    3. C

      They can specify only noise caused by classical random-number generators

    4. D

      They can choose or measure noise operators, for example using tomography

    Correct answer
    D

    They can choose or measure noise operators, for example using tomography

    Explanation

    The talk says users can choose noise operators or use operators measured through tomography to describe gate noise.

  19. 19

    Which error sources can be modeled separately in the described QLM noise framework?

    1. A

      Only readout errors and optimizer convergence errors

    2. B

      Only initialization errors and graph connectivity errors

    3. C

      Gate errors, readout errors, and initialization errors

    4. D

      Only gate errors and classical compilation errors

    Correct answer
    C

    Gate errors, readout errors, and initialization errors

    Explanation

    The presentation discusses specifying models for quantum operations, readout, and initialization.

  20. 20

    Which statement best describes the relationship between circuit-based and analog noise descriptions in QLM?

    1. A

      Analog schedules cannot include noise, while circuits can include only readout noise

    2. B

      Both descriptions require the same gate-by-gate depolarizing model

    3. C

      Circuit descriptions use analog schedules, while analog descriptions use only discrete gates

    4. D

      Circuit descriptions can use quantum-channel models, while analog schedules can use other noise-description methods

    Correct answer
    D

    Circuit descriptions can use quantum-channel models, while analog schedules can use other noise-description methods

    Explanation

    The talk distinguishes quantum-channel frameworks for circuit descriptions from analog-schedule approaches that can specify noise in other ways.

  21. 21

    What is the objective in the tutorial's variational search over a Heisenberg Hamiltonian?

    1. A

      Increase the number of Hamiltonian terms until the energy is positive

    2. B

      Minimize the circuit depth without considering the Hamiltonian energy

    3. C

      Find parameters that maximize the number of measured bitstrings

    4. D

      Adjust circuit parameters to find a state with energy near the ground-state value of −3-3−3

    Correct answer
    D

    Adjust circuit parameters to find a state with energy near the ground-state value of −3-3−3

    Explanation

    The exercise uses a variational circuit and classical optimization to approach the Heisenberg Hamiltonian's ground-state energy, which is −3-3−3 in the example.

  22. 22

    Why did a variational ansatz made only of one-qubit gates fail to reach the Heisenberg ground-state energy in the example?

    1. A

      The Hamiltonian contained no terms involving individual qubits

    2. B

      One-qubit gates cannot change the measurement probabilities of a qubit

    3. C

      A classical optimizer cannot adjust angles in one-qubit rotations

    4. D

      It could produce only product states, while the target ground state is entangled

    Correct answer
    D

    It could produce only product states, while the target ground state is entangled

    Explanation

    Single-qubit gates alone do not create entanglement between qubits. The example's Heisenberg ground state is entangled, so the ansatz lacked necessary expressive power.

  23. 23

    What change enabled the tutorial's ansatz to reach the energy −3-3−3?

    1. A

      Adding a CNOT gate between the two qubits

    2. B

      Removing the Hamiltonian from the variational job

    3. C

      Changing the initial angles while keeping only one-qubit gates

    4. D

      Replacing the variational circuit with a readout-error model

    Correct answer
    A

    Adding a CNOT gate between the two qubits

    Explanation

    Adding a CNOT introduced a two-qubit entangling operation, allowing the circuit to represent the entangled state needed to reach the minimum.

  24. 24

    In a parameterized variational circuit, what are the angles supplied to rotation gates before optimization?

    1. A

      Variables whose values are chosen or updated by the optimizer

    2. B

      Coefficients that define the number of qubits

    3. C

      Fixed constants that cannot change during the computation

    4. D

      Measurement outcomes returned by the QPU

    Correct answer
    A

    Variables whose values are chosen or updated by the optimizer

    Explanation

    A parameterized circuit leaves rotation angles as variables, which the classical optimizer adjusts to minimize the objective.

  25. 25

    Why does a variational job need an optimizer-enabled QPU stack when its circuit contains unspecified angles?

    1. A

      The optimizer is needed to create the qubits in the circuit

    2. B

      A standard QPU cannot execute the circuit until parameter values are supplied

    3. C

      A standard QPU cannot accept Hamiltonians as observables

    4. D

      The circuit must be converted into a tensor network before any angle exists

    Correct answer
    B

    A standard QPU cannot execute the circuit until parameter values are supplied

    Explanation

    A parameterized circuit contains variables rather than fixed angles. An optimizer-enabled stack searches for angle values and evaluates the objective.

  26. 26

    What does an observable-free circuit job return in the tutorial's perfect simulator example?

    1. A

      Only the optimizer's initial parameter guesses

    2. B

      A list of noise operators used during execution

    3. C

      Only the optimized value of a Hamiltonian

    4. D

      Information about the final-state outcomes or amplitudes

    Correct answer
    D

    Information about the final-state outcomes or amplitudes

    Explanation

    Without a specified observable, the job requests the final-state probabilities or bitstring outcomes; a perfect state simulator can also provide amplitudes.

  27. 27

    What does a job containing both a circuit and an observable provide when submitted to a QPU?

    1. A

      The complete list of all possible Hamiltonian matrices

    2. B

      The number of gates required by the classical optimizer

    3. C

      The exact value of every rotation angle in the circuit

    4. D

      The expected value of that observable after the circuit

    Correct answer
    D

    The expected value of that observable after the circuit

    Explanation

    When a circuit and observable are included in a job, the result contains the observable's average or expected value.

  28. 28

    In the tutorial's observable notation, how is the qubit on which a Pauli operator acts specified?

    1. A

      By choosing a different classical optimizer

    2. B

      By listing its qubit index alongside the Pauli operator

    3. C

      By changing the coefficient of the Hamiltonian term

    4. D

      By placing the operator last in the circuit

    Correct answer
    B

    By listing its qubit index alongside the Pauli operator

    Explanation

    The observable term includes qubit indices that identify where each Pauli operator acts; changing their order can change the operator's placement.

  29. 29

    What is the MaxCut objective described in the Qtensor presentation?

    1. A

      Color graph edges to minimize the number of vertices in the graph

    2. B

      Assign one unique color to each edge and maximize the graph's degree

    3. C

      Color graph vertices to maximize the number of edges joining differently colored vertices

    4. D

      Remove vertices until no pair of vertices is connected

    Correct answer
    C

    Color graph vertices to maximize the number of edges joining differently colored vertices

    Explanation

    MaxCut partitions or colors the vertices so that the number of edges crossing between different colors is maximized.

  30. 30

    What roles do the parameters Gamma and Beta play in the QAOA circuit described?

    1. A

      They are circuit parameters adjusted to maximize the energy expectation for the problem

    2. B

      They are contraction widths determined after tensor-network simulation

    3. C

      They are graph labels that identify vertices in the MaxCut instance

    4. D

      They are noise probabilities applied only during readout

    Correct answer
    A

    They are circuit parameters adjusted to maximize the energy expectation for the problem

    Explanation

    Gamma and Beta are QAOA circuit parameters whose values are optimized to obtain a good energy expectation.

  31. 31

    What does the QAOA depth parameter ppp describe in the presentation?

    1. A

      The number of colors allowed in the MaxCut problem

    2. B

      The number of repeated layers used to form the QAOA ansatz

    3. C

      The number of tensor indices in each gate

    4. D

      The number of classical processors used for contraction

    Correct answer
    B

    The number of repeated layers used to form the QAOA ansatz

    Explanation

    The QAOA ansatz has depth ppp, corresponding to its repeated circuit layers and associated parameters.

  32. 32

    Why can the energy expectation for QAOA MaxCut be decomposed into local contributions?

    1. A

      The full energy expectation contains no sum over the graph

    2. B

      The graph's edges are independent of all circuit parameters

    3. C

      The cost function is a sum of edge-local terms, so its expectation can be evaluated term by term

    4. D

      Every QAOA circuit acts on only one qubit

    Correct answer
    C

    The cost function is a sum of edge-local terms, so its expectation can be evaluated term by term

    Explanation

    The MaxCut cost is built from local edge terms. By linearity of expectation, the total expectation is the sum of their individual expectations.

  33. 33

    Why can gates far from the edge term being evaluated often be removed from its expectation calculation?

    1. A

      They contribute only when the graph has no cycles

    2. B

      They are always identity gates in every QAOA circuit

    3. C

      They can be discarded because Gamma and Beta are set to zero

    4. D

      They cancel with their conjugate counterparts when they do not affect the relevant local operators

    Correct answer
    D

    They cancel with their conjugate counterparts when they do not affect the relevant local operators

    Explanation

    In the expectation calculation, gates outside the relevant region cancel against their conjugates, allowing the computation to be restricted to a local subgraph.

  34. 34

    How is the relevant subgraph for an edge contribution determined in the described QAOA light-cone method?

    1. A

      It includes only vertices with degree exactly ppp

    2. B

      It includes every vertex at distance greater than ppp from the edge

    3. C

      It includes vertices within distance less than p−1p-1p−1 of the edge's vertices

    4. D

      It is chosen randomly and independently of the original graph

    Correct answer
    C

    It includes vertices within distance less than p−1p-1p−1 of the edge's vertices

    Explanation

    The presentation describes generating the subgraph from vertices within distance less than p−1p-1p−1 of the two vertices associated with the edge contribution.

  35. 35

    Why can increasing the size of a random regular parent graph sometimes make an edge contribution easier to simulate?

    1. A

      The graph's edges stop contributing to the cost function

    2. B

      Larger parent graphs always reduce the number of qubits in the circuit

    3. C

      The QAOA depth automatically decreases as the parent graph grows

    4. D

      The relevant subgraphs can become tree-like, which reduces their contraction complexity

    Correct answer
    D

    The relevant subgraphs can become tree-like, which reduces their contraction complexity

    Explanation

    For the random regular graphs discussed, larger parent graphs more often produce tree-like local subgraphs, which can be easier to contract.

  36. 36

    What is computed when the QAOA energy is evaluated using the light-cone approach?

    1. A

      A collection of local edge-contribution expectation values that are summed

    2. B

      Only the classical optimizer's parameter updates

    3. C

      One full statevector for every possible coloring of the graph

    4. D

      A single measurement from each vertex, with no edge terms

    Correct answer
    A

    A collection of local edge-contribution expectation values that are summed

    Explanation

    The method evaluates a tensor-network expectation for each relevant edge contribution and sums those local values to obtain the total energy.

  37. 37

    Why might exact classical energy evaluation be preferable to sampling on a quantum device during parameter optimization?

    1. A

      It makes simulating every output bitstring as easy as evaluating one expectation

    2. B

      It can avoid sampling uncertainty and hardware noise when finding useful parameters

    3. C

      It guarantees that the resulting parameters solve every MaxCut instance

    4. D

      It eliminates the need for a circuit or a cost function

    Correct answer
    B

    It can avoid sampling uncertainty and hardware noise when finding useful parameters

    Explanation

    If the energy can be simulated efficiently, classical evaluation avoids quantum-device sampling and its associated noise while optimizing parameters.

  38. 38

    Why can sampling from a large QAOA ansatz state be harder than calculating its energy expectation with the described method?

    1. A

      Sampling uses only local gates, while energy evaluation uses no circuit

    2. B

      The energy expectation is independent of the circuit parameters

    3. C

      Energy expectations require a physical quantum computer, while sampling is always classical

    4. D

      The energy can be decomposed into manageable local expectations, while full-state sampling can require much more information

    Correct answer
    D

    The energy can be decomposed into manageable local expectations, while full-state sampling can require much more information

    Explanation

    The local light-cone structure enables efficient energy evaluation in cases where representing or sampling the entire ansatz state is much harder.

  39. 39

    What is a tensor in the terminology used for tensor networks?

    1. A

      A noise model applied to a quantum measurement

    2. B

      A generalization that includes vectors and matrices as special cases

    3. C

      A quantum gate that must act on exactly three qubits

    4. D

      A graph algorithm used only to choose contraction order

    Correct answer
    B

    A generalization that includes vectors and matrices as special cases

    Explanation

    A tensor generalizes familiar objects: vectors and matrices are tensors, and higher-rank tensors have additional indices.

  40. 40

    In the diagrammatic tensor-network notation described, what does a vertex represent?

    1. A

      A tensor

    2. B

      A quantum algorithm's classical parameter

    3. C

      A measurement outcome

    4. D

      A contraction ordering

    Correct answer
    A

    A tensor

    Explanation

    The graphical notation represents each tensor as a vertex, with edges representing its indices.

  41. 41

    In a tensor-network diagram, what does an edge represent?

    1. A

      A classical optimizer step

    2. B

      A coefficient in the Hamiltonian

    3. C

      A physical connection between two quantum processors

    4. D

      An index of a tensor

    Correct answer
    D

    An index of a tensor

    Explanation

    Edges in the diagram correspond to tensor indices. A shared edge indicates a common index that can be summed over.

  42. 42

    What operation is represented by a shared index between two tensors?

    1. A

      A change in the tensors' ranks without arithmetic

    2. B

      A measurement of the corresponding qubit

    3. C

      Summation over that common index, or contraction

    4. D

      Multiplication of the tensors without summing any index

    Correct answer
    C

    Summation over that common index, or contraction

    Explanation

    When two tensors share an index, contracting them means summing over that common index.

  43. 43

    Why does the order of tensor contractions matter?

    1. A

      Contraction order changes the mathematical value of every network

    2. B

      The order determines which quantum gates were applied physically

    3. C

      Different orders can produce intermediate tensors of very different sizes

    4. D

      Only one order can preserve the original network's indices

    Correct answer
    C

    Different orders can produce intermediate tensors of very different sizes

    Explanation

    Although valid contraction orders represent the same overall quantity, their intermediate tensor sizes—and therefore memory and runtime demands—can differ substantially.

  44. 44

    How is a one-qubit gate represented as a tensor in the circuit-to-network mapping?

    1. A

      As a fully connected graph with four vertices

    2. B

      As a rank-two tensor with an input and an output index

    3. C

      As a rank-one tensor with no indices

    4. D

      As a rank-four tensor with two inputs and two outputs

    Correct answer
    B

    As a rank-two tensor with an input and an output index

    Explanation

    A one-qubit gate has one input and one output index, so it is represented as a rank-two tensor.

  45. 45

    Why is a two-qubit gate represented as a rank-four tensor?

    1. A

      It has two input indices and two output indices

    2. B

      It has four qubits but only one output

    3. C

      It contains four separate gate matrices

    4. D

      It always creates four independent entangled states

    Correct answer
    A

    It has two input indices and two output indices

    Explanation

    A two-qubit gate has an input and output index for each of its two qubits, yielding four indices.

  46. 46

    What does contracting a shared tensor index mathematically involve?

    1. A

      Replacing the shared index with a new qubit

    2. B

      Selecting only the largest entry in each tensor

    3. C

      Summing the product of tensor entries over the shared index

    4. D

      Deleting both tensors without combining their values

    Correct answer
    C

    Summing the product of tensor entries over the shared index

    Explanation

    Contraction combines tensors by multiplying corresponding entries and summing over their shared index.

  47. 47

    What is the principal memory bottleneck in tensor-network simulation emphasized in the presentation?

    1. A

      The length of the original graph's vertex labels

    2. B

      The size of the largest intermediate tensor

    3. C

      The number of simulator software packages installed

    4. D

      The number of names assigned to circuit parameters

    Correct answer
    B

    The size of the largest intermediate tensor

    Explanation

    Intermediate tensors can grow during contraction, and storing the largest tensor is a major memory bottleneck.

  48. 48

    Why can diagonal two-qubit gates simplify the line-graph representation used by Qtensor?

    1. A

      They make every tensor index have dimension one

    2. B

      They do not require tensors in a tensor-network representation

    3. C

      Their input and output indices are constrained to match, reducing the graph structure

    4. D

      They can always be removed without affecting the circuit

    Correct answer
    C

    Their input and output indices are constrained to match, reducing the graph structure

    Explanation

    A diagonal gate has nonzero entries only when corresponding input and output indices match, allowing a simpler representation in the line graph.

  49. 49

    How does Qtensor construct the line graph from a tensor network?

    1. A

      It represents each tensor index as a vertex and each tensor as a fully connected subgraph over its indices

    2. B

      It replaces every tensor with a single vertex and removes all indices

    3. C

      It represents each quantum gate as an edge and each qubit as a fully connected subgraph

    4. D

      It represents measurement outcomes as vertices and Hamiltonian terms as edges

    Correct answer
    A

    It represents each tensor index as a vertex and each tensor as a fully connected subgraph over its indices

    Explanation

    In the line-graph representation, indices become vertices, and the indices belonging to a tensor are connected as a fully connected subgraph.

  50. 50

    What does Qtensor use to find a tensor-network contraction ordering?

    1. A

      A line graph followed by a tree-decomposition-based ordering method

    2. B

      A quantum processor's gate queue followed by readout correction

    3. C

      A list of random bitstrings followed by a measurement sort

    4. D

      A Hamiltonian's eigenvalues followed by parameter interpolation

    Correct answer
    A

    A line graph followed by a tree-decomposition-based ordering method

    Explanation

    Qtensor converts the tensor network to a line graph and uses tree-decomposition software to determine a contraction order.

  51. 51

    What happens to the line graph when a vertex representing a contracted index is eliminated?

    1. A

      The vertex is duplicated and all neighboring edges are deleted

    2. B

      The vertex is removed and its neighbors are connected to one another

    3. C

      All vertices outside the tensor are removed

    4. D

      The vertex is changed into a tensor with no indices

    Correct answer
    B

    The vertex is removed and its neighbors are connected to one another

    Explanation

    Eliminating a line-graph vertex removes it and connects all of its neighbors, reflecting the indices of the resulting tensor.

  52. 52

    What determines the rank of the resulting tensor when an index vertex is eliminated in the line graph?

    1. A

      The number of neighbors of the eliminated vertex

    2. B

      The number of optimizer iterations

    3. C

      The number of qubits in the parent graph

    4. D

      The number of terms in the Hamiltonian

    Correct answer
    A

    The number of neighbors of the eliminated vertex

    Explanation

    After an index is eliminated, the resulting tensor has one index for each neighbor of the eliminated vertex.

  53. 53

    For qubit networks with two-dimensional indices, how does the number of entries in a tensor with kkk indices scale?

    1. A

      As 2k2k2k

    2. B

      As k2k^2k2

    3. C

      As 2k2^k2k

    4. D

      As k+2k+2k+2

    Correct answer
    C

    As 2k2^k2k

    Explanation

    Each index has dimension two, so a tensor with kkk such indices has 2k2^k2k entries.

  54. 54

    What is the contraction width as defined in the presentation?

    1. A

      The number of qubits on which an observable acts

    2. B

      The maximum number of optimizer steps in a variational run

    3. C

      The maximum number of neighbors encountered for an eliminated vertex during contraction

    4. D

      The total number of edges in the original quantum circuit

    Correct answer
    C

    The maximum number of neighbors encountered for an eliminated vertex during contraction

    Explanation

    Contraction width is the largest number of neighbors of an eliminated vertex over the contraction process.

  55. 55

    Why is contraction width a useful predictor of simulation difficulty?

    1. A

      It gives the exact number of MaxCut solutions

    2. B

      It directly specifies the number of physical qubits required

    3. C

      It is related to the rank and size of the largest intermediate tensors

    4. D

      It determines the noise probability after each gate

    Correct answer
    C

    It is related to the rank and size of the largest intermediate tensors

    Explanation

    A larger number of neighbors produces higher-rank intermediate tensors, whose storage and contraction can be expensive.

  56. 56

    What is the key idea of the greedy contraction-order optimizer described for Qtensor?

    1. A

      At each step, eliminate the vertex with the largest tensor rank

    2. B

      Choose a random vertex and never evaluate alternatives

    3. C

      At each step, eliminate a vertex with as few neighbors as possible

    4. D

      Contract all indices in alphabetical order

    Correct answer
    C

    At each step, eliminate a vertex with as few neighbors as possible

    Explanation

    The simple greedy optimizer chooses, at each step, a vertex with the smallest number of neighbors.

  57. 57

    Why might the greedy optimizer be inadequate for a complicated circuit?

    1. A

      It changes the mathematical result of the tensor network

    2. B

      It can be used only on circuits with no gates

    3. C

      It cannot contract tensors that have shared indices

    4. D

      Its locally simple choices may not yield a good overall contraction order

    Correct answer
    D

    Its locally simple choices may not yield a good overall contraction order

    Explanation

    A greedy choice is fast, but for complicated networks it may miss a better global ordering and produce costly intermediate tensors.

  58. 58

    What does a contraction width of one indicate in the tree-decomposition discussion?

    1. A

      The simulation requires one gigabyte of memory

    2. B

      The network has only one tensor

    3. C

      The circuit contains exactly one qubit

    4. D

      The relevant line graph is a tree

    Correct answer
    D

    The relevant line graph is a tree

    Explanation

    The presentation states that a tree line graph has tree width, or contraction width, of one.

  59. 59

    Why can Qtensor's simulation complexity vary non-monotonically as the parent graph grows?

    1. A

      The simulator changes from tensor networks to hardware execution

    2. B

      Every larger graph has fewer edges than the preceding graph

    3. C

      The number of QAOA parameters decreases every time the graph grows

    4. D

      The structure of the local subgraphs can change, affecting how tree-like their line graphs are

    Correct answer
    D

    The structure of the local subgraphs can change, affecting how tree-like their line graphs are

    Explanation

    The difficulty depends on local subgraph structure, not just parent-graph size. More tree-like subgraphs can reduce contraction width, causing non-monotonic behavior.

  60. 60

    What is Qtensor designed to simulate, and what problem family was emphasized?

    1. A

      Graph databases using stabilizer states, especially routing problems

    2. B

      Physical processors using noise models, especially chemistry experiments

    3. C

      Quantum circuits using tensor networks, especially circuits for QAOA

    4. D

      Classical neural networks using statevectors, especially image classifiers

    Correct answer
    C

    Quantum circuits using tensor networks, especially circuits for QAOA

    Explanation

    Qtensor is a tensor-network quantum simulator, with much of the presentation focused on QAOA simulations.

  61. 61

    What is a benefit of Qtensor accepting Qiskit circuits as input?

    1. A

      Qtensor automatically runs every circuit on IBM hardware

    2. B

      Qiskit circuits no longer require gates or qubits

    3. C

      Qiskit circuits become immune to contraction-width limits

    4. D

      Users can use circuits from a widely used quantum software framework with Qtensor's simulator

    Correct answer
    D

    Users can use circuits from a widely used quantum software framework with Qtensor's simulator

    Explanation

    Qtensor can take Qiskit circuits as input, allowing users to combine that circuit interface with Qtensor's simulation methods.

  62. 62

    What can Qtensor return when simulating a quantum circuit?

    1. A

      Only amplitudes for circuits with no two-qubit gates

    2. B

      Only a classical optimizer's learning rate

    3. C

      Only the number of gates in the circuit

    4. D

      A single probability amplitude or a batch of amplitudes

    Correct answer
    D

    A single probability amplitude or a batch of amplitudes

    Explanation

    The presentation describes simulating individual amplitudes and batches of amplitudes, including the full state when all qubits are selected.

  63. 63

    Why can calculating a batch of amplitudes sometimes be efficient once one amplitude can be simulated?

    1. A

      The tensor-network structure can be reused, making a batch possible at similar cost

    2. B

      A batch requires no contraction or simulation

    3. C

      Every amplitude is mathematically identical for every circuit

    4. D

      The simulator replaces all amplitudes with their average

    Correct answer
    A

    The tensor-network structure can be reused, making a batch possible at similar cost

    Explanation

    The talk notes that simulating one amplitude can enable a batch of amplitudes for roughly the same cost, an advantageous property of the tensor-network approach.

  64. 64

    How does automatic differentiation help optimize variational circuit parameters in Qtensor?

    1. A

      It converts every gradient into a measurement outcome

    2. B

      It removes the need to define an energy or loss function

    3. C

      It computes gradients with respect to gate parameters through the simulation computation graph

    4. D

      It guarantees the global optimum without any iterations

    Correct answer
    C

    It computes gradients with respect to gate parameters through the simulation computation graph

    Explanation

    Using automatic-differentiation tools such as PyTorch allows gradients with respect to gate parameters to be calculated through the simulation.

  65. 65

    What is the claimed advantage of obtaining parameter gradients through automatic differentiation rather than finite differences?

    1. A

      It replaces gradient information with the circuit's bitstring

    2. B

      It guarantees that no circuit simulation is required

    3. C

      The method can obtain gradients without evaluating separate perturbed parameter points

    4. D

      It works only when there is one parameter

    Correct answer
    C

    The method can obtain gradients without evaluating separate perturbed parameter points

    Explanation

    The presentation contrasts automatic differentiation with methods that require multiple evaluations at perturbed parameter values to estimate gradients.

  66. 66

    What is the purpose of using an optimizer such as Adam in the Qtensor variational example?

    1. A

      To add depolarizing noise after every gate

    2. B

      To update circuit parameters using gradient information during optimization

    3. C

      To choose which graph edges belong to MaxCut

    4. D

      To convert a Qiskit circuit into a line graph

    Correct answer
    B

    To update circuit parameters using gradient information during optimization

    Explanation

    Adam is used as a classical optimization method that updates parameters based on gradients to reduce the loss or improve the energy objective.

  67. 67

    Why does calculating the full QAOA energy take more work than calculating one edge contribution?

    1. A

      Each edge contribution requires a different quantum processor

    2. B

      The full energy cannot use tensor-network contraction

    3. C

      The full energy requires summing contributions from all graph edges

    4. D

      The full energy has no relationship to the circuit parameters

    Correct answer
    C

    The full energy requires summing contributions from all graph edges

    Explanation

    A single light-cone circuit gives one edge's contribution; the full energy sums the contributions over all edges.

  68. 68

    Which additional capability of Qtensor was identified beyond serial contraction?

    1. A

      Guaranteed noise-free execution on hardware

    2. B

      Automatic construction of physical quantum chips

    3. C

      Support for parallelizing calculations

    4. D

      Elimination of all memory requirements

    Correct answer
    C

    Support for parallelizing calculations

    Explanation

    The presentation lists parallelization support as a Qtensor feature, though it does not discuss its details extensively.

  69. 69

    What does the QAOA energy-expectation method in Qtensor use to organize its calculation?

    1. A

      It enumerates every possible graph coloring before simulation

    2. B

      It contracts the entire parent graph as a single tensor without decomposition

    3. C

      It iterates over graph edges and evaluates their light-cone contributions

    4. D

      It measures one randomly chosen vertex and estimates the entire energy

    Correct answer
    C

    It iterates over graph edges and evaluates their light-cone contributions

    Explanation

    The QAOA simulator evaluates energy by iterating over the graph's edges and summing the corresponding light-cone expectation contributions.

  70. 70

    What does the presentation suggest about tensor-network simulation on a supercomputer?

    1. A

      Parallel resources make tensor contraction unnecessary

    2. B

      A supercomputer can simulate only one-qubit circuits

    3. C

      Greater computational resources can extend simulations to much larger collections of networks and QAOA instances

    4. D

      A supercomputer removes the dependence of difficulty on graph structure

    Correct answer
    C

    Greater computational resources can extend simulations to much larger collections of networks and QAOA instances

    Explanation

    The presentation describes using a supercomputer to scale simulations substantially, while the cost still depends on the tensor-network structure.

Question 1 of 70
Question 1 of 70

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent