BQM Generators

Chimera Structured

chimera_anticluster(m[, n, t, multiplier, …]) Generate an anticluster problem on a Chimera lattice.

Constraints

combinations(n, k[, strength, vartype]) Generate a bqm that is minimized when k of n variables are selected.

Frustrated Cluster Loops

frustrated_loop(graph, num_cycles[, R, …]) Generate a frustrated loop problem.

Random

randint(graph, vartype[, low, high, cls, seed]) Generate a bqm with random biases and offset.
ran_r(r, graph[, cls, seed]) Generate an Ising model for a RANr problem.
uniform(graph, vartype[, low, high, cls, seed]) Generate a bqm with random biases and offset.