docs: def _jordan_wigner_mode(n):
          """
          Jordan_Wigner mode.
          Args:
              n (int): number of modes
          """
          a = []
          for i in range(n):
              xv = np.asarray([1] * i + [0] + [0] * (n - i - 1))
              xw = np.asarray([0] * i + [1] + [0] * (n - i - 1))
              yv = np.asarray([1] * i + [1] + [0] * (n - i - 1))
              yw = np.asarray([0] * i + [1] + [0] * (n - i - 1))
              a.append((Pauli(xv, xw), Pauli(yv, yw)))
          return a