Generators and Application Modeling#
Benchmarking#
|
Generate an anti-crossing problem with a single clique. |
|
Generate an anti-crossing problem with two loops. |
|
Generate an anticluster problem on a Chimera lattice. |
|
Generate a BQM for a doped ferromagnetic (FM) or antiferromagnetic (AFM) problem. |
|
Generate a frustrated-loop problem. |
|
Generate a random 2-in-4 satisfiability problem as a binary quadratic model. |
|
Generate a random not-all-equal 3-satisfiability problem as a binary quadratic model. |
Constraints#
|
Generate a binary quadratic model with ground states corresponding to an AND gate. |
|
Generate a binary quadratic model encoding an integer. |
|
Generate a binary quadratic model that is minimized when |
|
Generate a binary quadratic model with ground states corresponding to a full adder gate. |
|
Generate a binary quadratic model with ground states corresponding to a half adder gate. |
|
Generate a binary quadratic model with ground states corresponding to a multiplication circuit. |
|
Generate a binary quadratic model with ground states corresponding to an OR gate. |
|
Generate a binary quadratic model with ground states corresponding to an XOR gate. |
Optimization#
|
Generate a bin packing problem as a constrained quadratic model. |
|
Generate a coordinated multi-point (CoMP) decoding problem. |
|
Generate a binary quadratic model encoding an independent set problem. |
|
Generates a constrained quadratic model encoding a knapsack problem. |
|
Generate a binary quadratic model encoding a maximum independent set problem. |
|
Generate a binary quadratic model encoding a maximum-weight independent set problem. |
|
Generate a multi-input multiple-output (MIMO) channel-decoding problem. |
|
Generates a constrained quadratic model encoding a quadratic-assignment problem. |
|
Generate a random bin packing problem as a constrained quadratic model. |
|
Generates a constrained quadratic model encoding a random knapsack problem. |
|
Generate a constrained quadratic model encoding a multiple-knapsack problem. |
Random#
|
Generate a BQM for a doped ferromagnetic (FM) or antiferromagnetic (AFM) problem. |
|
Generate a random binary quadratic model with a fixed number of variables and interactions. |
|
Generate a BQM structured as an Erdős-Rényi graph. |
|
Generate a binary quadratic model with random biases and offset. |
|
Generate a random 2-in-4 satisfiability problem as a binary quadratic model. |
|
Generate a random bin packing problem as a constrained quadratic model. |
|
Generates a constrained quadratic model encoding a random knapsack problem. |
|
Generate a constrained quadratic model encoding a multiple-knapsack problem. |
|
Generate a random not-all-equal 3-satisfiability problem as a binary quadratic model. |
|
Generate an Ising model for a RANr problem. |
|
Generate a binary quadratic model with random biases and offset. |
Single-Variable Models#
Generators for single-variable models used in symbolic math.
|
Return a binary quadratic model with a single binary variable. |
|
Yield binary quadratic models, each with a single binary variable. |
|
Return a NumPy array of binary quadratic models, each with a single binary variable. |
|
Return a quadratic model with a single integer variable. |
|
Yield quadratic models, each with a single integer variable. |
|
Return a NumPy array of quadratic models, each with a single integer variable. |
|
Return a binary quadratic model with a single spin variable. |
|
Yield binary quadratic models, each with a single spin variable. |
|
Return a NumPy array of binary quadratic models, each with a single spin variable. |