tlquantum.tt_operators.identity

tlquantum.tt_operators.identity(dtype=torch.complex64, 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.