Implementation of von Neumann Machine on a Quantum Computer

This work implements the classical von Neumann architecture on a quantum computer using quantum gates only. A single reversible circuit of X, CNOT, Toffoli and Fredkin gates forms a complete stored-program machine: program memory, program counter, fetch and decode, registers, flags, data memory with a stack, and an ALU. The program is loaded as qubit state, not compiled into the circuit. The machine executes unmodified instructions of C functions compiled for AArch64, RISC-V and x86-64, for a supported subset of each instruction set and with 6–16-qubit registers. The interpreter can be used coherently. Programs and inputs in superposition are executed, and compiled C functions run as oracles in Grover search and Shor's algorithm. It provides no efficiency advantage over directly compiled circuits, but it offers a different view of a QPU: a processor that holds and runs its own program. The text is a self-contained tutorial with gate-level descriptions, measured gate counts, and single instructions drawn gate by gate. All results come from exact simulation. The source package includes the scripts that reproduce every table and figure.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24461041
Primary Topic
Quantum Computing Algorithms and Architecture
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Implementation of von Neumann Machine on a Quantum Computer

Sergii Salata
Zenodo (CERN European Organization for Nuclear Research)
Quantum Computing Algorithms and Architecture
article

Implementation of von Neumann Machine on a Quantum Computer

Sergii Salata
article en

Abstract

This work implements the classical von Neumann architecture on a quantum computer using quantum gates only. A single reversible circuit of X, CNOT, Toffoli and Fredkin gates forms a complete stored-program machine: program memory, program counter, fetch and decode, registers, flags, data memory with a stack, and an ALU. The program is loaded as qubit state, not compiled into the circuit. The machine executes unmodified instructions of C functions compiled for AArch64, RISC-V and x86-64, for a supported subset of each instruction set and with 6–16-qubit registers. The interpreter can be used coherently. Programs and inputs in superposition are executed, and compiled C functions run as oracles in Grover search and Shor's algorithm. It provides no efficiency advantage over directly compiled circuits, but it offers a different view of a QPU: a processor that holds and runs its own program. The text is a self-contained tutorial with gate-level descriptions, measured gate counts, and single instructions drawn gate by gate. All results come from exact simulation. The source package includes the scripts that reproduce every table and figure.

Zenodo (CERN European Organization for Nuclear Research)
Quantum Computing Algorithms and Architecture
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon