QuNetSim icon indicating copy to clipboard operation
QuNetSim copied to clipboard

Add a variation of "get_classical" that can receive a message from any host

Open SDABIS opened this issue 2 years ago • 0 comments

Hi. I'm trying to implement a simple network with QuNetSim, but I'm having trouble with the function "get_classical". I want my nodes to listen to incoming messages, but "get_classical" requires that I indicate which host to listen to. My current solution is to create a loop with every possible other host and call "get_classical" with a small "wait_time", but this seems like a poor solution. Is there a way to listen to any classical packet (in my example there is no need for this functionality for quantum channels) sent by any host? Thank you.

SDABIS avatar Oct 17 '22 12:10 SDABIS