Expand description
QUBO (Quadratic Unconstrained Binary Optimization) compiler for quantum annealing.
Structs§
- Coupler
- Coupler connection with weights
- Qubo
Matrix - QUBO matrix representation for quantum annealing
Constants§
Functions§
- calculate_
energy - Calculates the exact QUBO objective energy for a given binary assignment: E(x) = sum_i linear[i] * x[i] + sum_(i, j, J) J * x[i] * x[j]
- compile_
quins_ to_ qubo - Compiles Quins to a QUBO matrix, mapping subjects to variable indices and relationships/couplers to quadratic terms.
- publish_
to_ commons - Publish a solved matrix to the WebTorrent Commons
- rehydrate_
solution - Rehydrates solution from assignment back into Quins with original subject URIs from index_map.
- scrub_
metadata - Scrub personal URIs from index_map to ensure no personal data leaks
- serialize_
matrix - Serialize QuboMatrix to multi-dimensional HDF5-like format
- solve_
classical - Classical QUBO solver using Simulated Annealing over linear and quadratic couplers.