Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…bm-runtime into coordinates
  • Loading branch information
SamFerracin committed Sep 27, 2024
2 parents 207ac5d + bd27384 commit 8ba519a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_ibm_runtime/utils/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def from_backend(cls, backend: BackendV2) -> "Embedding":
coordinates = _get_qubits_coordinates(backend.num_qubits)
except ValueError as err:
raise ValueError(
f"Failed to fetch coordinates for backend '{backend.name}' with error: {err}"
)
f"Failed to fetch coordinates for backend '{backend.name}'."
) from err

return cls(coordinates, coupling_map)

Expand Down

0 comments on commit 8ba519a

Please sign in to comment.