Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion QHyper/solvers/quantum_annealing/dwave/advantage.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self,
self.token = token

if use_clique_embedding:
args = self.weigths if self.weigths else []
args = getattr(self, "weights", [])
qubo = Converter.create_qubo(self.problem, args)
qubo_terms, offset = convert_qubo_keys(qubo)
bqm = BinaryQuadraticModel.from_qubo(qubo_terms, offset=offset)
Expand Down