dimod icon indicating copy to clipboard operation
dimod copied to clipboard

`BQM.name` or similar

Open arcondello opened this issue 4 years ago • 0 comments

It would be nice to get the label of one-variable BQMs and QMs. E.g.

>>> i = dimod.Integer('i')
>>> i.name
'i'

Has a similar problem to the ones mentioned in #921. Though I think https://github.com/dwavesystems/dimod/issues/921#issuecomment-902922740 provides a good path forward.

Credit to @rahmani15 for the suggestion

arcondello avatar Aug 20 '21 20:08 arcondello