qojulia / WaveguideQED.jl

Library for simulating time binned photons in Waveguide Quantum Electrodynamics
MIT License
7 stars 2 forks source link

Normalization update #48

Closed mabuni1998 closed 5 months ago

mabuni1998 commented 5 months ago

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: https://github.com/qojulia/WaveguideQED.jl/issues/46