The theory docs list common SLH elements such as phase shifters, beamsplitters, coherent drives, one-sided cavities, two-sided cavities, and waveguide-coupled emitters. At the moment, users need to manually write them each time.
Adding named constructors could make this convenient.
Possible constructors:
phase_shifter(ϕ)
beamsplitter(r, t)
coherent_drive(α)
one_sided_cavity(a; κ, Δ=0)
two_sided_cavity(a; κ1, κ2, Δ=0)
waveguide_tls(σ; γR, γL=0, Δ=0)
The theory docs list common SLH elements such as phase shifters, beamsplitters, coherent drives, one-sided cavities, two-sided cavities, and waveguide-coupled emitters. At the moment, users need to manually write them each time.
Adding named constructors could make this convenient.
Possible constructors: