An interacting ensemble of particles in the context of quantum algebra