Implementation of von Neumann Machine on a Quantum Computer
Year: 2026
Type: article
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.
Author: Salata, Sergii
Language: English
Subfield: Atomic and Molecular Physics, and Optics
Field: Physics and Astronomy
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7238756940
FWCI:
Cites:
Cited by:
Related to:
