Acknowledgments and References¶
Clifft has benefited from open research and software that shaped its algorithms, interfaces, and physical models. We acknowledge the following work and describe how it contributed to Clifft.
Stim¶
Stim's circuit format and compile-once, sample-many interfaces shaped Clifft's frontend and sampling APIs. Clifft originally used Stim's C++ tableau implementation; current production builds use Clifft's native Clifford implementation. Stim continues to serve as an independent reference for correctness tests and as a source of QEC circuit fixtures.
- Craig Gidney, "Stim: a fast stabilizer circuit simulator", Quantum 5, 497 (2021).
- Stim source.
SOFT and SymFT¶
SOFT's generalized-stabilizer simulation and released magic-state cultivation circuits informed Clifft's development and provided workloads for its examples and benchmarks.
SymFT, the second-generation successor to SOFT, combines SOFT's generalized-stabilizer simulation with Clifft's original dense active-state representation. Clifft's current sampler adopts SymFT's symbolic Clifford-Pauli-frame factorization, adaptive stabilizer-coordinate planning, and direct multi-coordinate kernels. SymFT's packed cross-shot execution also inspired Clifft's packed sampling path.
SymFT's counts-focused CPU optimization work also motivated decoupling classical batch capacity from quantum state storage, filtering shots with noise-only detector constraints before quantum evolution, and skipping unused expectation probes in aggregate survivor sampling.
The method provenance describes this lineage and the implementation boundaries. The symbolic sampling and packed sampling updates explain the adaptations.
- Riling Li et al., "SOFT: a high-performance simulator for universal fault-tolerant quantum circuits" (2025).
- Wang Fang, Huazhe Lou, and Riling Li, "SymFT: Universal Fault-Tolerant Quantum Circuit Simulation via Symbolic Clifford-Pauli Frames and Stabilizer Coordinates" (2026).
- SOFT and SymFT source.
Microsoft QDK¶
QDK's skip-gate loss sampler supplied performance and differential-correctness comparisons during development of the online noncomputational backend. Its stabilizer-branching implementation informed the comparison between runtime Clifford-frame updates and ahead-of-time coordinate planning. The backend reuses Clifft's native Pauli representation and dense active-state kernels.
Tsim¶
Tsim's Stim-compatible approach to universal noisy-circuit simulation informed Clifft's circuit-format and interface design. Its open code and data enabled direct comparisons in Clifft's original performance study.
Tsim's closed sampling reconstruction also informed Clifft's native global-reconstruction compiler through its output-distribution formulation, forgotten commutant measurements, and measurement-first active-width scheduling. Clifft implements Clifford dilation, causal stabilizer dressing, and projection folding directly with its own parser and tableau algebra. The MSC reconstruction regression inputs are preserved copies of the noisy SOFT/Tsim benchmark corpus.
Tsim's trajectory sharing informed Clifft's reuse of quantum state evolution across shots, measurement-driven group splitting, and per-shot pruning within shared groups. Clifft combines this grouping model with its prepared active-Pauli kernels, independent per-shot RNG streams, and bounded state-pool growth at explicit dispatch boundaries.
- Rafael Haenel, Xiuzhe Luo, and Chen Zhao, "Tsim: Fast Universal Simulator for Quantum Error Correction" (2026).
- Tsim source.
SqaleSim¶
Infleqtion's SqaleSim motivated Clifft's leakage/loss instrument design and its five-level neutral-atom modeling. The public schedules and noise model from the Sqale study underpin Clifft's logical Shor noise-sweep tutorial. That tutorial compares matched model assumptions with Clifft's exact conditional back-action.
- Rines et al., "Demonstration of a Logical Architecture Uniting Motion and In-Place Entanglement".
- Public supplementary artifact, including the circuits and noise model used for Figure 9.
deltakit-stim¶
Riverlane's deltakit-stim inspired Clifft's configurable leakage partner effects, including partner noise and leakage spreading. Its binary leakage ledger and status-conditioned Pauli randomization also informed the fixed execution path: Clifft prepares packed classical status/noise columns for a shared quantum plan, with separate readout handling to preserve its classifier correlations. The partner-interactions guide describes Clifft's model and API.
TOHPE¶
Clifft's phase-polynomial optimizer implements Vivien Vandaele's TOHPE algorithm for reducing T count. The author's Rust implementation served as a validation reference. Clifft supplies the surrounding state constraints, non-Clifford core extraction, and Clifford correction.
- Vivien Vandaele, "Lower T-count with faster algorithms", Quantum 9, 1860 (2025), Algorithm 2.
- Author's implementation, with the revision used for validation.
Merlin¶
Serban Cercelescu, Mark Koch, and Arthur Pesah's Merlin paper and simulator motivated extending Clifft's existing phase-polynomial optimization to measured code-switching preparations. Their description of states using affine support and cubic phase polynomials informed the investigation of fixed constraints recovered after measurement and feedback, and of cancellations visible only across complete phase regions. This motivated the bounded region expansion and basis-selection work in Clifft's static optimizer. Clifft uses its own Pauli constraint analysis and TOHPE synthesis; this pass does not implement Merlin's DCP simulator or per-history specialization.
Clifft also directly reuses circuits from Merlin's code-switching generator. The BT27 fixture validates measurement-feedback constraint recovery and bounded phase-region expansion. The modified direct-X BT81 fixture validates 87-variable phase collection, basis selection, and measurement-aware squeezing. The BT27 and BT81 fixture headers record the pinned generator revision, construction recipes, and modifications. These generated circuits are included under Apache-2.0; the headers also pin Merlin's upstream license revision.
- Serban Cercelescu, Mark Koch, and Arthur Pesah, "Polynomial-time simulation of non-Clifford quantum error correction" (2026), especially Sections II-III on affine-support phase-polynomial states and their evolution, and Section VI on quantum error correction.
- Merlin source, code-switching generator at the pinned revision, and Apache-2.0 license.
Triorthogonal circuits¶
Matthew Cha of Riverlane assembled the triorthogonal circuit collection used to evaluate Clifft's phase-polynomial optimization. The release post reports the results. The code families and distillation protocols are described in:
- Sergey Bravyi and Jeongwan Haah, "Magic state distillation with low overhead", Physical Review A 86, 052329 (2012).
- Jeongwan Haah and Matthew B. Hastings, "Codes and Protocols for Distilling T, controlled-S, and Toffoli Gates", Quantum 2, 71 (2018).
Clifft benchmarks the active width of detector-only and full-record reconstruction using external Bravyi–Haah circuits from Magna and their Stim translations.
MQT Bench¶
Clifft's fixed-input 32-qubit Draper QFT adder fixture was generated with MQT Bench. It provides an arithmetic workload for validating and benchmarking arbitrary-angle rotation simplification, as described in Richer Noise Models, Smaller Active States.
- Nils Quetschlich, Lukas Burgholzer, and Robert Wille, "MQT Bench: Benchmarking Software and Design Automation Tools for Quantum Computing", Quantum 7, 1062 (2023).
- MQT Bench source.
Pauli Frame Sparse Representation¶
Thomas Tuloup and Thomas Ayral's work informed Clifft's stratified importance-sampling approach to rare-event estimation. Clifft's importance-sampling tutorial follows their cultivation analysis by conditioning on fault count and weighting each stratum by its probability.
- Thomas Tuloup and Thomas Ayral, "Computing logical error thresholds with the Pauli Frame Sparse Representation" (2026).
Magic-state cultivation¶
The magic-state cultivation protocol and its released circuits, data, and analysis tools underpin Clifft's cultivation examples and benchmarks. Clifft uses artifacts from the original work as well as T-gate circuits distributed with SOFT; the fixture headers and tutorials record their individual sources.
- Craig Gidney, Noah Shutty, and Cody Jones, "Magic state cultivation: growing T states as cheap as CNOT gates" (2024).
- Code and circuits.
- Published data.
xoshiro256++¶
Clifft uses David Blackman and Sebastiano Vigna's xoshiro256++ random-number generator, seeded with SplitMix64, for sampling. The implementation follows the public reference code, providing a small per-shot state and deterministic integer output across platforms.
- David Blackman and Sebastiano Vigna, "Scrambled Linear Pseudorandom Number Generators", ACM Transactions on Mathematical Software 47(4), Article 36 (2021).
- xoshiro256++ reference implementation and SplitMix64 seeding implementation.