tlquantum.tt_operators.identity

tlquantum.tt_operators.identity(device=None)[source]

Single-qubit identity opertor in the tt-tensor format.

Parameters
devicestring, device on which to run the computation.
Returns
Identity operator in tt-form.