'Returns the state that lies at index i of the basis
Examples
>>> from sympy.physics.secondquant import FixedBosonicBasis
>>> b = FixedBosonicBasis(2, 3)
>>> b.state(3)
FockStateBosonKet((1, 0, 1))'

def state(self, i):

    return self.basis[i]
