Simulator for CQM

Hello, 

I am aware that there exists a Simulated Annealing Sampler, but it only BQM, Ising, or QUBO inputs. Is there a way to simulate annealing using CQM? Or is there a way to transform a CQM to BQM so that it can be solved with Simulated Annealing Sampler?

Thanks!!!

1

Comments

2 comments
  • Hello,

    There is a dimod.cqm_to_bqm function you could use to transform your CQM into a BQM.

    Hopefully this helps!
    Please let me know if you have any questions.

    1
    Comment actions Permalink
  • Hello,

    This page may help you: https://q-zee.github.io/
    Look for the N Queen solver example and go to the GitHub page for the code examples showing solving the problem with CQM or BQM.
    Regards,
    Mario

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post