July 13, 2026 - July 19, 2026
The goal for this week was to make the Regev-style circuit and lattice post-processing work more reliable, more reproducible, and easier for someone new to the project to understand.
After the Week 05 experiments, I wanted to strengthen the project in three main ways. First, I wanted to add more tests so that changes to the circuit, sampling models, lattice construction, and factor-checking code would be easier to trust. Second, I wanted to apply more noise to the experiments, following our advisor's feedback that the work should be tested under less ideal conditions. Third, I wanted to begin making the project more approachable through a beginner guide.
This week I focused on adding more tests around the parts of the project that are easiest to accidentally break. I added and expanded tests for parameter handling, modular arithmetic assumptions, root and squared-base pairing, sample decoding, lattice construction, relation checking, and factor extraction. The purpose was not only to catch bugs, but also to make the pipeline easier to audit later.
I also worked on applying more noise to the experiments. Previously, I had tested several error models, including approximate-QFT truncation, coherent phase error, readout bit flips, and Fourier-grid quantization. This week, I pushed further in that direction by adding more noisy conditions and thinking more carefully about how the noise affects the final endpoint. I did not want to only ask whether the quantum samples look different. I wanted to ask whether the noise changes lattice recovery and whether it prevents the final factor extraction step from working.
This was important because our advisor emphasized that the experiments should not assume perfect behavior. Real quantum hardware has noise, finite precision, measurement errors, and implementation constraints. If the project is going to make a useful claim about Regev-style factoring under finite conditions, then the experiments need to include stress tests that show where the method is stable and where it fails.
I also started writing a beginner guide to the work. The goal of this guide is to explain the project from the ground up, especially for someone who has not already spent weeks thinking about Regev's algorithm, multidimensional QFTs, LLL, or lattice-based post-processing. I wanted the guide to explain what each stage of the pipeline does, why it matters, what assumptions are being made, how to run the code, and how to interpret the outputs.
The reproducibility part of the guide was especially important to me. I want another student to be able to reproduce the experiments without needing to guess which notebook cells to run, which parameters were used, which random seeds mattered, or what result files should be compared. I started organizing the explanation around inputs, fixed configurations, experiment commands, saved outputs, tests, and known limitations.
The main result this week was that the project became more testable and more explainable. Adding more tests made the implementation feel less fragile. It also made it easier to separate genuine research results from accidental implementation behavior.
The additional noise work gave the experiments a stronger connection to realistic quantum computing conditions. Instead of only studying an idealized pipeline, I continued testing how finite precision, sampling corruption, and measurement-level errors affect the full quantum-to-classical path.
Another result was that the beginner guide began turning the project into something another person could actually follow. This matters for reproducibility. If the work can only be understood by the person who wrote the code, then it is not yet a strong research artifact. The guide is meant to make the project easier to read, run, check, and extend.
One challenge was deciding how much noise to add without making the experiments meaningless. If the noise model is too weak, it does not tell us much about robustness. If it is too strong or poorly motivated, then failures may not teach us anything useful. I had to think carefully about testing noise in a way that still connects to the research question.
Another challenge was writing beginner-facing documentation without oversimplifying the mathematics. Regev-style factoring involves several layers: modular arithmetic, quantum sampling, multidimensional Fourier structure, lattice reduction, relation recovery, and classical factor extraction. The guide needs to be readable, but it also needs to preserve the real structure of the work.
Next, I want to continue expanding the test suite and connect the tests more directly to the claims made by the experiments. I also want to keep applying and comparing noise models so I can understand which failures come from the quantum stage, which come from finite sampling, and which come from the lattice post-processing stage.
I also plan to keep improving the beginner guide. The next version should include clearer setup instructions, a reproducibility checklist, explanations of the major experiment files, and a short path for someone who wants to run only the smallest working example first.