Atelier des rouesLab FR
Register/XII.D09
XII synthetic pilot · XII.D09

Clearing the correction bit after a modular step

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I retain the identity c = b XOR (y mod 2) as a way to clear the correction bit: for odd p, y’s parity directly reveals that bit. Vedral, Barenco and Ekert, and Beauregard already cover reversible modular arithmetic; Luongo et al. formalize other modular uncomputation circuits using measurement. The local contribution is a specialized unitary rule, not a new modular adder. Replaying 2,116 valid cases leaves the full input space and invalid encodings untested.

V. Vedral, A. Barenco and A. Ekert, Quantum Networks for Elementary Arithmetic Operations · Alessandro Luongo, Antonio Michele Miti, Varun Narasimhachar and Adithya Sireesh, Measurement-based uncomputation of quantum circuits for modular arithmetic

How I rate results

Assumptions

Odd p, r<p, preserved input b, initially zero work bits. Invalid codes have a different specification from D08.

Result

With y=2r+b−cp, c=b XOR (y mod 2). I replay 2,116 valid inputs including inverse and cleanup. The 576,219 gates at 67 in the XII record are logical gates before placement.

Prior work

Cuccaro et al., A new quantum ripple-carry addition circuit

Next question

Compare equivalent compositions with a defined FPGA cost and a synthesis baseline.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.