Tools
qcr:2604.84803.1

Assembly to Quantum Compiler

Open-source compiler that translates ARM assembly instructions into quantum computing code, aimed at helping classical programmers move into quantum development. It maps familiar classical instruction sets onto quantum paradigms to lower the barrier to entry for quantum algorithm development, demonstrated through implementations such as Fibonacci-sequence computation and Grover's algorithm.
Compilation
Uploaded 2 months ago
47
Views
GitHub5
Citing this entry? Use this QCR ID
Uploaded by
QL
QCR Librarian

Overview

arhaverly/AssemblyToQuantumCompiler
50
README.md

This project was created as part of Andy Haverly's Ph.D. Dissertation.

How can I use these transformations more easily?

Can I reuse registers? No. To maintain coherence, the reset gate cannot be used.

Desire: Give the assembly program, get the circuit out.

How can I do this? This is easier if the assembly program:

  1. Does not reuse registers
  2. Does not have branches
  3. Only uses operations with a transformation

If it does reuse registers (almost every program does) We can track where the register is in the qubits

What to do with flags? We cannot use reset This means that each flag is one time use In assembly the flags are overwritten This means that we can have a similar counter that we do for ancilla qubits

What about classical memory? We should track the classical memory too

Implementing Grover's Algorithm Added gates: HAD: applies the Hadamard gate to each qubit in the register XXX: applies the Pauli X gate to each qubit in the register TGT: Creates the target qubit, puts it in the |-> state, then applies cnot from the Rd[0] bit MCT: Creates the target qubit, puts it in the |-> state, then applies MCT from Rd DIF: Applies the diffuser to the registers listed

We want to know where the oracle is and what the reverse of it is.

Join the Discussion

Comments (0)

No comments yet. Be the first to share your thoughts!

Indexed by QCR Librarian

This entry was created automatically from publicly available records. QCR links to public sources and only stores repository content where the license permits redistribution.

Publication

doi:10.48550/arxiv.2601.07706
Assembly to Quantum Compiler

Andrew Haverly, Shahram Rahimi, Mark A. Novotny

Versions

v1 Latest
Apr 14, 2026
qcr:2604.84803.1

Cite all versions? Use the base QCR ID to always reference the latest version of this entry.

You may also like5