Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
a-matsuo committed Mar 22, 2024
1 parent b8add4e commit 290d970
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qopt_best_practices/sat_mapping/sat_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ def remap_graph_with_sat(
swap_strategy (SwapStrategy): The swap strategy to use to find the initial mapping.
Returns:
tuple: A tuple containing the remapped graph, the edge map, and the number of layers of the swap strategy that was used to find the initial mapping. If no solution is found then the tuple contains None for each element.
tuple: A tuple containing the remapped graph, the edge map, and the number of layers of
the swap strategy that was used to find the initial mapping. If no solution is found
then the tuple contains None for each element.
Note the returned edge map `{k: v}` means that node `k` in the original
graph gets mapped to node `v` in the Pauli strings.
"""
Expand Down

0 comments on commit 290d970

Please sign in to comment.