I have a repetition code like below. Since I have no SPAM error, some detectors are unconnected nodes. I cannot see the nodes from pymatching.Matching.edges(), but I can see they exist in the graph from .num_nodes(). When I convert the graph to networkx, the nodes are lost. How can I view these nodes and add them with pymatching? enter image description here



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.