# 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() bqm – A binary quadratic model. dimod.BinaryQuadraticModel