Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalization update #48

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Normalization update #48

merged 2 commits into from
Jun 5, 2024

Conversation

mabuni1998
Copy link
Collaborator

@mabuni1998 mabuni1998 commented Jun 5, 2024

Waveguide states are no longer by default initialized as normalized states. This is to ensure compatibility with creating superpositions / beamsplitter operations. In relation to this, the twophoton initializer was adjusted to so that twophotons in the same waveguide now requires a prefactor of 1/sqrt(2) in order to be normalized. Documentation was also updated.
Precompilation updated to be faster.
See also: #46

Waveguide states are no longer by default initialized as normalized states. This is to ensure compatibility with creating superpositions / beamsplitter operations. In relation to this, the twophoton initializer was adjusted to so that twophotons in the same waveguide now requires a prefactor of 1/sqrt(2) in order to be normalized.
Documentation was also updated.
Precompilation updated to be faster.
Detection documentation is now no longer included as this is deprecated functions.
@mabuni1998 mabuni1998 merged commit 7b76066 into main Jun 5, 2024
8 checks passed
@mabuni1998 mabuni1998 deleted the Normalization branch June 5, 2024 10:16
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