Quantum Interference Transformer (QIT): Emergent Sequence Intelligence from Amplitude Dynamics
Mihail Alexandru Stancescu
Abstract
This working paper introduces the Quantum Interference Transformer (QIT), a sequence model in which token relationships are resolved by constructive and destructive interference in a parameterised quantum circuit, rather than by classical dot-product attention. We present QIT-0, a minimal PennyLane/PyTorch prototype. Tokens are encoded as rotation angles, cross-token correlations are seeded by a ring CNOT ladder, a learned strongly-entangling unitary acts as the attention operator, and Pauli-Z expectation values are decoded by a linear layer. On a 4-bit parity memorisation benchmark (16 inputs; 5 random seeds), QIT-0 (78 parameters) reaches 100% accuracy in 6.2 ± 1.7 epochs. Classical baselines with more parameters converge more slowly or fail within the epoch budget. Additional experiments include ablations, a first-token negative control, and related structured tasks. This is an independent technical report, not a peer-reviewed publication. We do not claim general quantum advantage for machine learning. Code: https://github.com/MihailStancescu/qit