BosonSampling.Event
— TypeEvent{TIn<:InputType, TOut<:OutputMeasurementType}
Event linking an input to an output.
Fields:
- input_state::Input{TIn}
- output_measurement::TOut
- proba_params::EventProbability
- interferometer::Interferometer
BosonSampling.EventProbability
— TypeEventProbability(probability::Union{Nothing, Number})
EventProbability(mc::MultipleCounts)
Holds the probability or probabilities of an Event
.
Fields:
- probability::Union{Number,Nothing, MultipleCounts}
- precision::Union{Number,Nothing}
- failure_probability::Union{Number,Nothing}
BosonSampling.assert_compatible_events
— Methodassert_compatible_events(events)
Verifies that the events are compatible, i.e. that they have the same input state, interferometer and output measurement type. They can have different detections of course, but the idea is to check that the come from the same experimental setup.