Skip to content

tsim.core.instructions.last_row

← Module overview

functionlast_rowsource

tsim.core.instructions.last_row

def last_row(b: GraphRepresentation, qubit: int) -> float

Get the row of the last vertex for a qubit.

Parameters

NameTypeDescription
bGraphRepresentation
qubitint

Returns

float

source