Skip to content

Conversation

@arnavk23
Copy link
Contributor

@arnavk23 arnavk23 commented Jan 9, 2026

Implement heterodyne measurement for Gaussian states:

  • Heterodyne struct for storing measurement results and output state
  • Support for both QuadPairBasis and QuadBlockBasis
  • Simultaneous measurement of both quadratures (unit-gain)
  • rand() support for sampling heterodyne measurement outcomes

Before considering your pull request ready for review and merging make sure that all of the following are completed (please keep the clecklist as part of your PR):

  • The code is properly formatted and commented.
  • Substantial new functionality is documented within the docs.
  • All new functionality is tested.
  • All of the automated tests on github pass.
  • We recently started enforcing formatting checks. If formatting issues are reported in the new code you have written, please correct them. There will be plenty of old code that is flagged as we are slowly transitioning to enforced formatting. Please do not worry about or address older formatting issues -- keep your PR just focused on your planned contribution.

Implement heterodyne measurement for Gaussian states:
- Heterodyne struct for storing measurement results and output state
- Support for both QuadPairBasis and QuadBlockBasis
- Simultaneous measurement of both quadratures (unit-gain)
- rand() support for sampling heterodyne measurement outcomes
- Comprehensive tests covering structural, analytical, and statistical validation
- Documentation in CHANGELOG
@codecov
Copy link

codecov bot commented Jan 10, 2026

Codecov Report

❌ Patch coverage is 96.37306% with 7 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@8a15976). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/heterodyne.jl 96.37% 7 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #96   +/-   ##
=======================================
  Coverage        ?   97.12%           
=======================================
  Files           ?       20           
  Lines           ?     2816           
  Branches        ?        0           
=======================================
  Hits            ?     2735           
  Misses          ?       81           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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