benoitseron / BosonSampling.jl

Boson sampling tools for Julia
MIT License
26 stars 5 forks source link

MethodError: no method matching full_bunching_probability(::RandHaar, ::Input{Bosonic}, ::ModeOccupation) #52

Closed AntoineRestivo closed 2 years ago

AntoineRestivo commented 2 years ago

https://github.com/benoitseron/BosonSampling.jl/blob/ecea4cfb898422b02cf37e0ce0a27a78e5ba2e65/src/example_usage.jl#L28

AntoineRestivo commented 2 years ago

Do you absolutely need subset_modes to be of type Subset in here function full_bunching_probability(interf::Interferometer, i::Input, subset_modes::Subset)?

benoitseron commented 2 years ago

I am having a look but more bugs seem to appear when I fix some