How to sample CQM using classical compute resource besides ExactCQMSolver
Hi everyone,
I want to preserve my QPU credits, so I want to reduce the usage of the LeapHybridCQMSampler. I tried using RandomSampler but it didn't work. I tried using dimod.cqm_to_bqm and it didn't work either because the model has quadtratic constraint. Is there any classical sampler/solver for CQM other than ExactCQMSolver, because it also didn't work.
Thanks!
Comments
Hello,
Could you please give a minimal code example of what issues you were running into.
You could probably convert a problem from a CQM to a BQM with the dimod.cqm_to_bqm and sample the BQM using one of the non-QPU solvers.
If you can give an example of how you attempted this and the stack trace of the errors you encountered, we might be able to point you in the right direction.
Thanks for reaching out with your problem and working with us to figure it out.
Please sign in to leave a comment.