Address #88
As discussed, this is a substantial rewrite of the original generate_topology which adds a lot of flexibility to the method(s).
Worth highlighting/mentioning:
Having a background in networking but being new to quantum information, I included the classical network types of ring, star, tree, and mesh, and I added linear because it was already there. If the names are different from those generally used in quantum networking, that can be easily changed.
I did not include bipartite, Erdos Renyi, or one-to-many, all of which you had mentioned you would like to see.
All connections are currently bidirectional.
As requested, tests use the connection lists for each Host in a network. The tests all work right now with a simple 5-host network, but that's easily modifiable in the test class setup.
I left the missing items off so the original author could have a chance to finish what he started (I mentioned him in a comment a couple days ago asking if he wanted me to just merge the changes into his branch, but he has not responded, yet). What's in here is what I felt I needed for a robust, interactive templater, which I will be working on today and probably submitting a PR for tomorrow.
If there are any changes you would like to see in this or if the original author does not want to finish it, please let me know and I have no problem completing it.
Hi all! I am working on awarding the bounties, and it seems like @MrRobot2211 you are not registered! If you could sign up here so I can send you swag? unitaryHACK registration
Address #88 As discussed, this is a substantial rewrite of the original generate_topology which adds a lot of flexibility to the method(s).
Worth highlighting/mentioning:
If there are any changes you would like to see in this or if the original author does not want to finish it, please let me know and I have no problem completing it.