qit.gate.single

qit.gate.single(L, t, d_in)

Single-qudit operator.

Parameters
  • L (Lmap, array) – local (one-subsystem) operator

  • t (int) – subsystem to which L is applied

  • d_in (tuple[int]) – input dimensions for the constructed operator

Returns

L applied to subsystem t (and identity applied to the remaining subsystems)

Return type

Lmap