dwave_networkx.algorithms.markov.markov_network_bqm

markov_network_bqm(MN)[source]

Construct a binary quadratic model for a markov network.

Parameters:G (NetworkX graph) – A Markov Network as returned by markov_network()
Returns:bqm – A binary quadratic model.
Return type:dimod.BinaryQuadraticModel