tlquantum.tt_state.spins_to_tt_state

tlquantum.tt_state.spins_to_tt_state(spins, device='cpu', dtype=torch.complex64)[source]

Generates tt-tensor state of computational basis product space described by spins.

Parameters:
spinsList/tensor of ints (0’s and 1’s), spin values
Returns:
tt-tensor product state in computational basis