QuantumAtlas

Myth 46 of 50 · How Quantum Computers Work

“Quantum computers can only be programmed by physicists using exotic mathematics”

Verdict: Mostly false

The short answer

Quantum programs are written in ordinary languages such as Python using open-source kits, and anyone can run them on cloud hardware. Designing new quantum algorithms is hard, but using existing ones and learning to write circuits does not require a physics degree.

Where the myth comes from

Pictures of quantum computing often show pages of equations with kets and bras, and descriptions emphasize abstract concepts such as Hilbert spaces and unitary operators. Programs for the earliest quantum machines were indeed written by physicists as sequences of laser or microwave pulses. It is easy to think that programming a quantum computer means manipulating the physical hardware with specialized mathematics, which only experts can do.

Today, the situation is very different. Layers of software now hide most of the physics, as in classical computing, where programmers do not manipulate transistors.

How quantum programming works today

The most common way to program a quantum computer is to write a quantum circuit: a sequence of gates applied to qubits, followed by measurements. Open-source software kits, such as IBM's Qiskit, Google's Cirq, Xanadu's PennyLane, Amazon's Braket SDK, NVIDIA's CUDA-Q, and Quantinuum's tket, let the user write circuits in Python or similar languages. Javadi-Abhari and coauthors described Qiskit in 2024, and Bergholm and coauthors described PennyLane in 2018. The code looks like ordinary programming: you create a circuit object, add gates by calling functions, and run it on a simulator or on real hardware through a cloud service. A beginner can write a program that creates an entangled pair in a few lines, and run it on a real device within minutes.

Under the hood, a compiler translates the circuit into the native operations of a particular machine, handles qubit connectivity by inserting swaps, and optimizes gate counts. Standards such as OpenQASM 3, described by Cross and coauthors in 2022, and the Quantum Intermediate Representation allow programs to move between tools and platforms. Higher-level tools go further: some companies, such as Classiq, let users describe what a computation should do and automatically synthesize a circuit, and libraries provide ready-made routines for chemistry, optimization, and machine learning. Control pulses, the actual electromagnetic signals sent to qubits, are managed by the hardware provider, though advanced users can access them.

What is still hard

Designing new quantum algorithms is hard, and doing it well requires mathematical training in linear algebra, probability, and often complexity theory. There are only a few families of algorithms with large speedups, and finding more is a research problem. Choosing whether a problem suits a quantum approach, formulating it, and judging the result against classical methods requires expertise. Writing efficient programs for error-corrected machines will need new tools for resource estimation and compilation, an area of active research. Working at the hardware level, designing qubits or control systems, needs physics and engineering knowledge.

These difficulties resemble those of other technical fields. Using a machine learning library is easy, while designing new machine learning methods is hard. The same applies here: a software developer can use quantum kits and existing algorithms with modest preparation, while inventing new algorithms is the work of specialists.

Learning to program a quantum computer

A typical path takes a few months of part-time study. Learn the basics of qubits, gates, and measurement from a textbook such as Nielsen and Chuang or from free courses offered by providers. Install a kit and write the standard small programs: a Bell state, the Deutsch-Jozsa algorithm, quantum teleportation, and Grover search on a few qubits. Run them on simulators, and then on real devices through the free tiers of cloud services, to see the effect of noise. After that, explore variational algorithms with PennyLane or Qiskit, which look like machine learning code, and study applications in your own field. Publishing the code in a repository and contributing to open-source projects helps to build a record.

The grain of truth

Quantum computing does require new concepts: superposition, entanglement, measurement, and interference are unfamiliar, and thinking in terms of amplitudes takes practice. The mathematics is not trivial. Some careers in the field do need a strong physics background, particularly in hardware and theory. And quantum programs are harder to debug than classical ones, since you cannot inspect the state of a running quantum computer without disturbing it. The myth is in saying that only physicists can program quantum computers, which is no longer true.

Why the myth matters

The myth discourages software developers, students, and companies from trying, and slows the growth of the community that the field needs. It also leaves the impression that quantum computing is accessible only to elite institutions, when anyone with an internet connection can run experiments. Open tools and free access are among the main reasons that the field has grown a global community, including in countries without large quantum laboratories.

How to answer the myth

Show a short program. A few lines of Python can create an entangled pair and run it on a real device. Point to the free cloud tiers and open-source kits. Then say honestly that inventing new algorithms is difficult, and that using existing ones is within reach of any programmer who is willing to learn linear algebra basics.

Our verdict

Mostly false. Quantum computers are programmed in ordinary languages with open-source kits, and anyone can run programs on real hardware. Inventing new algorithms and building hardware require specialized training, but using the tools does not require being a physicist.

Quick facts

  • Qiskit, Cirq, PennyLane, CUDA-Q, and others are open-source kits that use Python.
  • OpenQASM 3 is a widely used language for describing quantum circuits.
  • Free cloud tiers let anyone run circuits on real quantum hardware.
  • Compilers translate circuits into the native operations of each machine.

How to spot and answer this myth

  • Watch for claims that quantum programming requires physics expertise.
  • Ask whether the claim distinguishes using algorithms from inventing them.
  • Try a short circuit on a free cloud device.
  • Check the open-source documentation of a major kit.

Frequently asked questions

What language do I use to program a quantum computer?

Mostly Python, with libraries such as Qiskit, Cirq, or PennyLane.

Do I need to know quantum mechanics to program?

You need basic ideas about qubits, gates, and measurement, learned with linear algebra, but not advanced physics.

Can I run my program on a real quantum computer?

Yes, through cloud services with free or low-cost access.

References

  1. Javadi-Abhari, A., et al. (2024). Quantum computing with Qiskit. arXiv:2405.08810.
  2. Bergholm, V., et al. (2018). PennyLane: Automatic differentiation of hybrid quantum-classical computations. arXiv:1811.04968.
  3. Cross, A., et al. (2022). OpenQASM 3: A broader and deeper quantum assembly language. ACM Transactions on Quantum Computing, 3, 12.
  4. Nielsen, M. A., & Chuang, I. L. (2010). Quantum computation and quantum information (10th anniversary ed.). Cambridge University Press.
  5. Gidney, C. (2021). Stim: a fast stabilizer circuit simulator. Quantum, 5, 497.
  6. Hughes, C., et al. (2022). Assessing the needs of the quantum industry. IEEE Transactions on Education, 65, 592-601.

Keep exploring

This page summarizes published research and expert consensus as of 2026 for education. Details change as experiments and standards evolve, so check the references before citing. It is not investment, legal, or security advice.