Getting chain break frequency from SampleSet

Hello,

I'd like to get chain break frequency from a SampleSet using :

dwave.embedding.chain_break_frequency
 
When I submit my bqm or qubo to DWaveSample by doing:
qpu_advantage2 = DWaveSampler(solver={'topology__type': 'zephyr'}, token=token)
sampler = FixedEmbeddingComposite(qpu_advantage2, embedding=emb)
response = sampler.sample(bqm, num_reads=1000, chain_strength=0.1, chain_break_method=None, return_embedding=True, answer_mode='raw')
 
response returns variable states but not "physical qubits" states, which I does not allow me to use dwave.embedding.chain_break_frequency(response, emb) (I receive a key error).
 
What is the correct way to get chain break frequencies ? 
 
Thank you.
Best regards.
Julien.
0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post