View source on GitHub |
Finds the first index of a target item within a list of lists.
cirq_google.line.placement.anneal.index_2d(
seqs: List[List[Any]], target: Any
) -> Tuple[int, int]
Args | |
---|---|
seqs
|
The list of lists to search. |
target
|
The item to find. |
Raises | |
---|---|
ValueError
|
Item is not present. |