From 478e5a8e55f21db9cdec41d49257a4edb084b4e7 Mon Sep 17 00:00:00 2001 From: SamFerracin Date: Fri, 27 Sep 2024 10:25:56 -0400 Subject: [PATCH] lint --- qiskit_ibm_runtime/utils/embeddings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qiskit_ibm_runtime/utils/embeddings.py b/qiskit_ibm_runtime/utils/embeddings.py index d0345ea8d..d13b8cfd2 100644 --- a/qiskit_ibm_runtime/utils/embeddings.py +++ b/qiskit_ibm_runtime/utils/embeddings.py @@ -15,7 +15,6 @@ Utility class to represent an embedding of a set of qubits in a two-dimensional plane. """ -from dataclasses import dataclass from typing import Iterable, List, Tuple, Union, Sequence from qiskit.providers.backend import BackendV2 @@ -90,8 +89,8 @@ def _heavy_hex_coords( """Generate heavy hex coordinates for the given rows. Args: - rows: A sequence of iterables of integer, where every integer represents the column index - of a qubit in the given row. + rows: A sequence of rows, sorted from top to bottom. Rows are specified as an iterable of + integers, where every integer represents a column index. row_major: Whether qubits should be labelled in row-major order (by ``x`` first and, in case of a tie, by ``y``) or in colum-major order.