-
Notifications
You must be signed in to change notification settings - Fork 58
Description
I have two issues:
**Issue 1: **
I modified the "two_nodes_eg.ipynb" file in the example folder to generate output for a 4-node, completely connected graph, establishing a connection between router 1 and router 4 of my network through the path "r1-->r2-->r3-->r4". The problem is that it entangles the memories for router 2 and 3 as well. I understand that they will be entangled during the intermediate swapping process, but won't the final bell state measurement swap "consume" the entanglement between 2 and 3. If so why are they still showing entangled after the network manager request has been processed. Moreover, we can see that the entanglement of router 2 and 3 happens after router 1 and 4 which doesn't personally make sense since shouldn't they be an intermediate entangled state thus their entanglement happens before that final two routers' entanglement that was processed. I have attached the screenshot and my Jupyter notebook for reference.
entanglement_routing_sequence.ipynb
Issue 2:
Is there a way to incorporate a multipath forwarding table, i.e. our forwarding rule gives multiple options for the "next hop" to reach the destination? (Maybe it can randomly decide one of two paths with assigned weighted probabilities or compute the shortest path and then decide). So basically what I want is something like: r1.network_manager.protocol_stack[0].add_forwarding_rule("r4", ["r2","r3"]) i.e. using a list of nodes instead perhaps instead of a singular node.
Thank you in advance!