BosonSampling.DarkCountFockSample — TypeDarkCountFockSample(p)Same as FockSample but each output mode has an extra probability p of giving a positive reading no matter if there is genuinely a photon.
BosonSampling.FockDetection — TypeFockDetection(s::ModeOccupation)Measuring the probability of getting the ModeOccupation s at the output.
Fields:
- s::ModeOccupationBosonSampling.FockSample — TypeFockSample <: OutputMeasurementTypeContainer holding a sample from typical boson sampler.
BosonSampling.PartitionCountsAll — TypePartitionCountsAll(part::Partition)Measuring all possible counts probabilities in the partition part.
Fields:
- part::PartitionBosonSampling.PartitionSample — TypePartitionSample <: OutputMeasurementTypeContainer holding a sample from Partition photon count.
BosonSampling.RealisticDetectorsFockSample — TypeRealisticDetectorsFockSample(p_dark::Real, p_no_count::Real)Same as DarkCountFockSample with the added possibility that no reading is observed although there is a photon. This same probability also removes dark counts (first a dark count sample is generated then readings are discarded with probability p_no_count).
BosonSampling.StateMeasurement — TypeStateMeasurementType trait to know which kind of state the detectors will measure, such as Fock or Gaussian.