Improve synthetic phi recovery using direct curve fitting#15
Conversation
Replaced the existing synthetic phi recovery notebook with a new version that utilizes direct non-linear curve fitting of the correlation function instead of CHSH magnitude estimation. This provides first-order sensitivity to small phase shifts (phi < 0.1), enabling reliable recovery of injected signals. Key changes: - Implemented direct fit: E(theta) = -cos(theta + phi). - Added model comparison (Standard QM vs Shifted X-Theta) with chi-squared, AIC, and BIC metrics. - Added residual signature test for the X-Theta unique sine-shaped residual pattern. - Added Milestone 4 section detailing the unique physical prediction of the theory. - Automated generation and saving of validation plots to the outputs directory.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
The synthetic phi recovery notebook was updated to address the measurement-design problem where small phase shifts were undetectable due to the second-order nature of the CHSH magnitude's dependence on phi. By shifting to direct correlation curve fitting, the sensitivity is improved to first-order, allowing for stable recovery of small phi values (e.g., 0.005, 0.01). The notebook now also includes formal model comparison and the X-Theta residual signature test.
PR created automatically by Jules for task 5973336430852611189 started by @divyang4481