UnitID#
- class tierkreis.common_types.circuit.UnitID(reg_name: str, index: List[int])[source]#
Bases:
object
Used for BackendResult.{qubits, bits} and also for Node. Not serializable on its own. Returns / takes a list.
Methods
Convert a pytket Node object to a UnitID object.
from_serializable
Convert a UnitID object to a pytket Node object.
to_serializable
Attributes
reg_name
index