sequence-toolbox / SeQUeNCe

Simulator of QUantum Network Communication (SeQUeNCe) is an open-source tool that allows modeling of quantum networks including photonic network components, control protocols, and applications.
https://sequence-rtd-tutorial.readthedocs.io/
Other
92 stars 42 forks source link

[Minor] Fix Small issues in Tutorial and entanglement_management/swapping.py #172

Closed caitaozhan closed 1 year ago

caitaozhan commented 1 year ago

Hi SeQUeNCe team,

Recently I tried SeQUeNCe mainly via reading the tutorial and coding the examples myself. I found a couple of minor issues and fixed them in this pull request.

  1. In tutorial/chapter3/example1.py, add the import for class Message and ignore the classical channel connecting a node to the same node itself, which does not make sense
  2. In tutorial/chapter3/example3.py, also ignore the classical channel from a node to itself
  3. In entanglement_management/swapping.py, fix minor comment issue in EntanglementSwappingB

Note: For 1) and 2), I only fixed the example.py code in the tutorial but didn't update the tutorial's text. Apart from this pull request, I also created some issues for slightly larger problems.

Thank you for your time, Caitao