You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed Pytheus on my computer and ran the exact config file examples (copy-paste config_cnot22_sp.json, etc...) given in the repository, however when I plot the best result I never obtain any squares or triangles, even though there should be auxiliary qubits and single photon sources. The graphs are similar to the pdf ones of the repository but with only round vertices.
Would you know what's the issue? Do I have to get another version or specify something else in the configuration?
Thank you,
Paul
The text was updated successfully, but these errors were encountered:
We are currently working on an update of certain tools, including the plotter. Therefore it might take us a bit to fix this issue.
I want to stress that even if only round vertices are shown in the plot, that doesn't mean that they are standard detectors:
A round vertex with a single color going in is acting as an ancilla. Since the photon state is not entangled in any way with the others.
The single photon sources are trickier to pinpoint. They are bicolored edges, with the blue half (dimension 0) connecting the input node and the second color connected to the detector or output. No edge can connect 2 single photon sources, since those vertices are not detectors.
We will check the error in more detail the next days. In the meantime I hope this allows you to keep working with our framework and checking whether the provided solutions are correct.
Indeed the graphplot.py module that I installed using "pip install pytheusQ" does not contain the specific functions for triangles and squares.
I tried to directly install the branch from github using "pip install git+https://github.com/artificial-scientist-lab/PyTheus.git@main" but then I was getting an IndexError because it seems the keys of the graph dictionnary are strings, not tuples.
Modifying the graph by preconverting strings to tuples at each "graph" call in graphplot.py draws the plot but still without triangles and squares so I guess there is more to do.
Please let me know when the update is ready. Thank you for your response and for the temporary fix,
Hello,
I have installed Pytheus on my computer and ran the exact config file examples (copy-paste config_cnot22_sp.json, etc...) given in the repository, however when I plot the best result I never obtain any squares or triangles, even though there should be auxiliary qubits and single photon sources. The graphs are similar to the pdf ones of the repository but with only round vertices.
Would you know what's the issue? Do I have to get another version or specify something else in the configuration?
Thank you,
Paul
The text was updated successfully, but these errors were encountered: