Closed jakeffbulmer closed 2 years ago
Merging #316 (6a7c1a6) into master (4ae3408) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #316 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 22 22
Lines 1575 1603 +28
=========================================
+ Hits 1575 1603 +28
Impacted Files | Coverage Δ | |
---|---|---|
thewalrus/__init__.py | 100.00% <100.00%> (ø) |
|
thewalrus/_permanent.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 4ae3408...6a7c1a6. Read the comment docs.
Almost there @jakeffbulmer : you just need a test for the branching here:
You can likely parametrize one of the test you wrote...
Thanks @sduquemesa
Context: matrix functions for calculating threshold detector statistics of Fock states interfering in linear optical interferometers.
Description of the Change: New functions, the "Bristolian"
brs
and the "Unitary Bristolian"ubrs
are added to_permanent.py
and imported in__init__.py
.Benefits: Allows for calculation of threshold detector statistics in experiments where Fock states are interfered in linear optical interferometers.
There are also new functions in _permanent.py called
fock_threshold_prob
andfock_prob
which make it easy to get the probabilities of Fock state interference in linear optics. These latter functions are not imported in the init file, but maybe they could be useful elsewhere?Possible Drawbacks: What could possibly go wrong?
Related GitHub Issues: