#85/100: We need to find the length of a cycle || Quantum Computer Programming in 100 Easy Lessons

#85/100: We need to find the length of a cycle || Quantum Computer Programming in 100 Easy Lessons

🎙 Ryan O'Donnell 👥 14K 📅 August 12, 2024 ⏱ 22 min 👁 183 📄 tutorial 🧭 2026-08-17
Available in: English (current) Français

Keywords

quantum factoringcycle lengthmodular exponentiationreversible computationpermutation

Summary

In this lesson, Ryan O’Donnell explains the core challenge in quantum factoring: determining the order (length) of the cycle generated by multiplying by 2 modulo n. He illustrates why a naive iterative approach is infeasible for large n, as the cycle length can be astronomically large. He then demonstrates that the operation ’times 2 mod n’ forms a directed cycle where each element has exactly one predecessor and successor, making it a permutation. This permutation is classically reversible, and by leveraging techniques from earlier lessons, it can be converted into a quantum subroutine. The lesson concludes by framing the problem as finding the length of this cycle, which is essential for Shor’s algorithm.

113 words

Critical Evaluation

Value of the Information & Strength of the Argument

The lesson provides valuable insight into the conceptual foundation of Shor’s algorithm, specifically the order-finding problem. The argumentation is clear and logical, building from a simple example (n=21) to the general case. The instructor effectively explains why the naive approach fails and why the cycle structure is key. The use of a concrete example helps solidify understanding, and the connection to reversible computation is well-motivated.

Scientific Rigor, Source Quality, Title Accuracy

The scientific rigor is high, as the instructor is a professor at Carnegie Mellon University and the content is mathematically sound. The lesson references earlier lectures and homework, indicating a structured curriculum. The title accurately describes the lesson’s focus. No external sources are cited, but the pedagogical approach and the instructor’s expertise lend credibility. The video is part of a series, which adds context and reliability.

146 words

Title / Content Match

The title accurately reflects the lesson's focus: rephrasing the quantum factoring problem as finding the length of a directed cycle.

Quality & Reliability

8/10

The content is a rigorous, well-structured lecture by a recognized academic (CMU professor) on quantum computing. It builds on established concepts (modular arithmetic, reversible computation) and provides clear explanations. The video is part of a series, indicating pedagogical intent. No sources are cited in the video itself, but the instructor's expertise and the logical consistency of the arguments support high reliability.

Key Moments

Cited Sources

Concurring Sources

Contribution & Novelties

This lesson provides a clear, pedagogical explanation of the order-finding problem in quantum factoring, emphasizing the cycle structure and its connection to reversible computation. It bridges the gap between classical algorithms and quantum subroutines, making the concept accessible.

Pour aller plus loin :

78 words

Radar Profile

The radar profile shows high scores in quality of information and technical level, with slightly lower scores in quantity and reliability. This reflects a focused, in-depth lesson that is technically rigorous but limited in scope and without external citations.

Reliability 8/10