Hello Poitaingai81
Yes, train tickets are valid throughout the country, no matter the operator. This is one of the great advantages of the public transportation in Switzerland.
It is only that the services in the stations (such as lockers) are the responsibility of the operating company.
Let us know if you need more information.
Best wishes,
Roland