pith. sign in

arxiv: 2605.14881 · v1 · pith:6FYKEYNQnew · submitted 2026-05-14 · 🪐 quant-ph · cs.LO

QSeqSim: A Symbolic Simulator for Qiskit While Loops Using Sequential Quantum Circuits

classification 🪐 quant-ph cs.LO
keywords qseqsimcircuitssequentialquantumsymbolicqiskitqubitssemantics
0
0 comments X p. Extension
pith:6FYKEYNQ Add to your LaTeX paper What is a Pith Number?
\usepackage{pith}
\pithnumber{6FYKEYNQ}

Prints a linked pith:6FYKEYNQ badge after your title and writes the identifier into PDF metadata. Compiles on arXiv with no extra files. Learn more

read the original abstract

We present a tool QSeqSim, a Qiskit-integrated symbolic backend that fills the current gap of having no Qiskit-native support for simulating while-loop quantum programs and their induced sequential quantum circuits. QSeqSim takes Qiskit QuantumCircuit objects, translates them into OpenQASM 3 code, and organises the resulting program into a combination of combinational, dynamic, and sequential circuits, thereby assigning while-loops a precise sequential circuit semantics with explicit internal and external qubits. Building on this semantics, QSeqSim adopts a Binary Decision Diagram (BDD)-based symbolic representation and integrates weighted model counting to compute measurement probabilities efficiently by exploiting sharing in structured and sparse BDDs. On top of this Boolean backbone, it introduces dedicated symbolic operators for state composition and state retention, thereby enabling efficient symbolic execution of sequential quantum circuits. Our experiments demonstrate that QSeqSim scales to substantial while-induced sequential circuits; in particular, in the quantum random walk benchmark we successfully simulate circuits with over 1000 qubits for more than 10 loop iterations. QSeqSim is available at https://github.com/Veri-Q/QSeqSim.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.