quisp
quisp copied to clipboard
Test cases for quantum channel
In order to be confident that QuISP is performing correctly when the code base changes.
We need a way to test the quantum channel. Either by simulation or unit tests.
For simulation we need
- Sharing link-level base Bell pair without memory error and BSA efficiency at 100%
- Performing tomography without purification
- Check if the density matrix output give close enough result when measurement is done enough times (maybe consult Oka's thesis on this).
The test should include
- single errors (only one of the possible errors turned on)
- turn all errors on but stay mostly biased.
- test loss independently to Pauli errors.
- Test whether loss affect the Pauli errors.