Saltar al contenido
Hub Nexus

Aún sin autorAsumirla

Versión 3Actualizado 5 min de lectura

Apoyo

Most quantum computing lectures are strongly physics-oriented and overlap little with the rest of a computer science curriculum. A team at TU Wien built a course that starts from the other end: quantum computers as co-processors in hybrid systems, where only suitable parts of an application run on the quantum machine and the rest on classical components. This paper describes the course, taught for the first time in winter semester 2023/24.

Why hybrid

The paper's premise is that the post-Moore era pushes computing toward non-von-Neumann accelerators, such as neuromorphic and quantum devices, working alongside classical host processors. Unlike GPUs and TPUs, quantum computing still needs special training: quantum mechanical principles (superposition, quantum operations, entanglement, measurement), algorithms that must be reinvented and tested, and care over how classical data is encoded, since poor encoding could cancel out speed-ups. Graduates also need to judge when a quantum computer might improve an application and which parts of an HPC workflow to hand it.

The course gives students a basic background in quantum computing plus an information-systems and architecture view: accelerator architectures, HPC workflows and the software stack. It mixes lectures with hands-on exercises, and uses Quantum Computing for Computer Scientists by Yanofsky and Mannucci as its textbook, together with research papers, Qiskit documentation and IBM Quantum Learning.

Syllabus

An opening lecture surveys non-von-Neumann architectures, then two lectures cover the mathematics and physics of quantum information. These lead into quantum circuits and algorithms, then separate lectures on variational quantum algorithms (VQAs), the quantum approximate optimization algorithm (QAOA) and quantum machine learning. Two guest lectures close the course: photonic qubits, and quantum error correction.

The authors insist on one point: describing a qubit's superposition as "0 and 1 at the same time" is inadequate and misleading. Students must learn how it differs from a classical probabilistic bit, partly by measuring a qubit in different bases, which shows the destructive, intrinsically random role of measurement. The Bloch sphere visualizes states and gates, and entanglement comes in with systems of more than two qubits.

Example of a quantum circuit, one horizontal line per qubit, operations running left to right

Figure 1. An example quantum circuit: each horizontal line is a qubit and time runs left to right. Figure from De Maio et al., CC BY 4.0; used unchanged.

Three ways to run a quantum task

Students must be able to describe and implement three execution models.

ModelWhat happens
Single executionone run of a circuit, ended by measuring its outcome
Job executionthe same circuit repeated a set number of times (shots); the result is an expectation value or quasi-probability distribution
Hybrid executionthe workload is split between quantum and classical resources, as in VQAs, where classical results drive the quantum device

In the first two, the classical computers only interface with and control the quantum processor; in the hybrid model they are part of the computation.

Single execution model

Job execution model

Hybrid execution model

Figure 2 (a), (b) and (c): the single, job and hybrid execution models. Figures from De Maio et al., CC BY 4.0; used unchanged.

VQAs use a loop in which a classical optimizer trains a parametrized quantum circuit to minimize a cost function that encodes the problem, such as a molecule's ground-state energy. The authors say they offer a promising route to quantum advantage and can reduce the qubits needed. The course uses QAOA for combinatorial optimization and the variational quantum eigensolver (VQE) for ground-state energies.

Finally students learn to break an HPC application, modeled as a scientific workflow, into a hybrid one: they pick the tasks that suit a quantum implementation, then redesign the workflow. A workflow manager such as Pegasus can place each job on different nodes. The paper's example marks interatomic-distance and largest-eigenvalue computations as candidates.

Initial scientific workflow

Hybrid quantum-classical version of the workflow

Figure 4 (a) and (b): an initial workflow and its hybrid quantum-classical decomposition. Figures from De Maio et al., CC BY 4.0; used unchanged.

Assignments and tools

  • Assignment 1 (individual): basics. Two exercises each on orthonormal bases and unitaries, and on measurement bases and entanglement, plus two programming exercises on superposition and entanglement.
  • Assignment 2 (individual): quantum-augmented K-means and SVM. Students design a classical K-means baseline, find which tasks could gain from quantum hardware, implement at least one hybrid version (or justify not doing so), then do classification with a quantum SVM, encoding a standard scikit dataset.
  • Assignment 3 (group of up to three): bin packing. Groups solve bin-packing instances on a quantum computer with QAOA or VQE: parse the instance, convert to QUBO form, then to an Ising Hamiltonian, encode it, and run.

Students use the university's HPC infrastructure and IBM Qiskit, which has an online textbook and tutorials. For quantum hardware they have a simulator in the lab, a RasQberry device from IBM, and open plans from IBM Quantum and Amazon Braket.

Results

Of 35 enrolled students, 19 took the final assignment, and 3 more joined as auditors who sat no exam. The drop-out rate was about 35%, in line with TU Wien's average for elective classes. Only two students filled in the course evaluation, so the authors draw no firm conclusions from it, though it was very positive.

Learning outcomeShare of available points scored
LO190.1%
LO288.2%
LO385.8%
LO488.3%

The authors read 85% to 90% as evidence the main goals were reached. LO3 was the hardest, and they plan more exercises for it.

Lessons

  • Grading only on assignments suited the hands-on approach but left guest lectures poorly covered; a written or oral exam may follow.
  • Balancing enough quantum mechanics against a practical focus was hard. Teleportation and universality were cut, and since students liked the topics the authors may add more physics.
  • Evaluation is optional at TU Wien, so they want to encourage more feedback.

Related courses include Stanford's 2019 Quantum Computer Programming by D. Boneh and W. Zeng, which stresses programming and benchmarking, and a three-semester master's program at the Deggendorf Institute of Technology on high-performance and quantum computing.

Sources

  • Vincenzo De Maio, Meerzhan Kanatbekova, Felix Zilk et al., "Training Computer Scientists for the Challenges of Hybrid Quantum-Classical Computing", arXiv:2403.00885, https://arxiv.org/abs/2403.00885. Licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Changed here: condensed and reworded; lecturer profiles, footnotes and references left out; the figures are the authors' own, used unchanged. Rewritten in hubnx's own words.

Comentarios

Spinner Logo

Más sobre Educación

De Hub Nexus editorsLecturas: 282
A demo for the Hub Nexus content editor, showing what could be created, and at the same time teaching how to create them with each syntax. It follows general markdown syntax, gfm, and more advanced like various charts and graphs code syntax.
De Abdul Ariwoola
Random article
CC0 1.0 (dominio público)
A. C. Kemp, an English teacher at M.I.T. and keeper of slangcity.com, did a computer analysis of TV and movie scripts for us and discus
CC BY-SA 4.0
Inevitably, the requirements change over the lifetime of the system, forcing continual system evolution. Often, these modifications are conducted long after the software was originally written, usually by someone other than the original author. Easy and successful modification requires that the soft