What are the Pegasus graph parameters

There is a generator to create the pegasus graph and it seems to be highly parameterized (which is good programming). 


My questions, I hope, are simple ones; what parameters are needed to generate a graph of the planned pegasus released hardware and what are the values of those parameters?

Context I am trying to recreate the coupler data structure that is availble for the Chimera architecture through the sampler. 

[(0, 4), (0, 5), (0, 6), (0, 7),...

I know that the above graph might not do that directly and that it might not be reflective a the provisioned machines of the future but I am hoping to create such a data structure for pegasus to run some analysis.

Also, outside of the test scaffolding are there any examples of calling pegasus_graph that someone could point me to?




1 comment
  • It's great to hear you're getting a head start on Pegasus! To my knowledge we're planning on releasing a P16 processor, however this hasn't been finalized.

    The only required parameter for generating a Pegasus graph is m (the size parameter). In this case it would be pegasus_graph(m=16)

    One other parameter that may be of interest to you is nice_coordinates. Setting nice_coordinates=True constructs the Pegasus graph by connecting 3 Chimera graphs. Although this may not create the optimal configuration on Pegasus it is a coherent way to convert problems from the Chimera architecture to Pegasus.

    We don't have any examples in the documentation that work with Pegasus graphs yet. Here is an example on how to construct a Pegasus graph and view the edges/nodes though.

    P16 = dnx.pegasus_graph(16)


    Here are some links you may find helpful:

    I hope this helps! Feel free to keep the conversation going if you run into any roadblocks.

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post