[Paper Review] Realization of Shor's Algorithm at Room Temperature
This paper presents a classical, room-temperature implementation of Shor’s algorithm using quantum simulation logic (QSL) based on pass-transistor circuits, achieving fidelity comparable to state-of-the-art quantum experiments. It demonstrates factoring 15 with systematic errors lower than prior implementations, using only classical resources while reproducing quantum interference and providing insight into the true quantum resources enabling speedup.
Shor's algorithm can find prime factors of a large number more efficiently than any known classical algorithm. Understanding the properties that gives the speedup is essential for a general and scalable construction. Here we present a realization of Shor's algorithm, that does not need any of the simplifications presently needed in current experiments and also gives smaller systematic errors than any former experimental implementation. Our realization is based on classical pass-transistor logic, runs at room temperature, and uses the same amount of resources as a scalable quantum computer. In this paper, the focus is not on the result of the factorization, but to compare our realization with current state-of-the-art experiment, factoring 15. Our result gives further insight to the resources needed for quantum computation, aiming for a true understanding of the subject.
Motivation & Objective
- To provide a fair, resource-matched comparison between classical and quantum computation by simulating Shor’s algorithm using classical hardware.
- To minimize systematic errors in experimental implementations of Shor’s algorithm, avoiding simplifications that compromise fidelity.
- To identify the essential quantum resources enabling speedup by isolating systematic errors in classical simulations.
- To demonstrate that the same resource count as a scalable quantum computer can be achieved classically, enabling direct comparison with quantum experiments.
Proposed method
- The implementation uses a classical quantum simulation logic (QSL) framework where each qubit is represented by two classical bits: one for computational state and one for phase.
- Quantum gates—Hadamard, CNOT, Toffoli, and classically controlled R₂ gates—are implemented via reversible pass-transistor logic using transmission gates.
- The semiclassical inverse Fourier transform is applied without qubit recycling, reducing circuit depth while preserving quantum-like behavior.
- Controlled modular exponentiation is implemented using precomputed multipliers from Markov et al., with identity operations omitted when possible.
- The system uses a single physical qubit per logical qubit, initialized to |0⟩ or |1⟩, with measurement collapsing the state and randomizing the phase bit.
- Probability distributions are estimated from 10⁶ Monte Carlo samples per a-value, enabling statistical comparison with ideal quantum outcomes.
Experimental results
Research questions
- RQ1Can a classical system simulate Shor’s algorithm with fidelity matching or exceeding that of current quantum experiments?
- RQ2What systematic errors arise in classical simulations of quantum algorithms, and how do they relate to true quantum advantages?
- RQ3Does the absence of quantum coherence in classical simulations reveal the essential physical resources required for quantum speedup?
- RQ4How do resource requirements and error propagation in classical simulations inform the design of scalable quantum computers?
Key findings
- The QSL framework achieves a statistical overlap (SSO) of 0.9999(1) for a = 2, 4, 11, and 0.984(2) for a = 8, 13, indicating high fidelity to ideal quantum behavior.
- For a = 7, the SSO is 0.933(3), slightly below ideal, suggesting a systematic error source in the phase control mechanism.
- The probability of measuring a valid candidate for the period r is 0.5 for all a-values, matching the ideal quantum case, confirming correct sampling behavior.
- The implementation uses the same number of resources (qubits and gates) as a scalable quantum computer, enabling direct comparison.
- No Fourier leakage occurs for N = 15 due to power-of-two periods, meaning that two-qubit precision is sufficient, and additional qubits only add noise.
- Systematic errors in the classical simulation point to non-quantum features of quantum gates, narrowing the search for the true source of quantum advantage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.