Skip to content

Improve synthetic phi recovery using direct curve fitting#15

Merged
divyang4481 merged 1 commit into
mainfrom
improve-synthetic-phi-recovery-5973336430852611189
Jun 7, 2026
Merged

Improve synthetic phi recovery using direct curve fitting#15
divyang4481 merged 1 commit into
mainfrom
improve-synthetic-phi-recovery-5973336430852611189

Conversation

@divyang4481

Copy link
Copy Markdown
Owner

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

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.
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@divyang4481 divyang4481 merged commit eab0e23 into main Jun 7, 2026
1 check passed
@divyang4481 divyang4481 deleted the improve-synthetic-phi-recovery-5973336430852611189 branch June 7, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant