The easiest way to explore Switzerland by train, is the Swiss Travel Pass. Included are trips by bus, train and boat within the validity range. It is up to you, if you need 3, 4, 8 or 15 consecutive days. You receive free admission to over 500 museums.
E-Tickets are available.