dimod icon indicating copy to clipboard operation
dimod copied to clipboard

`BQM.from_cqm` or similar

Open arcondello opened this issue 4 years ago • 0 comments

The inverse of CQM.from_bqm added in https://github.com/dwavesystems/dimod/pull/936.

Cases this would need to handle to be fully featured:

  • [ ] Integer variables
    • [ ] binary encoding
    • [ ] one-hot encoding
  • [ ] Linear equality constraints over binary variables (can be handled by BQM.add_linear_equality_constraint)
  • [ ] Linear inequality constraints over binary variables (can be handled by BQM.add_linear_inequality_constraint)
  • [ ] Quadratic equality constraints over binary variables
  • [ ] Quadratic inequality constraints over binary variables

arcondello avatar Aug 17 '21 18:08 arcondello