Sweden got an early powerplay, which resulted in a couple of decent tests for Saskia Maurer, who had been given the nod in the Swiss goal.
Ebba Svensson was between the pipes for Sweden, and she was also tested a couple of times when Switzerland got their first powerplay opportunity.
The game was as tight and evenly matched as most people had expected, but Sweden had a slight edge at even strength, with the strong-skating Hilda Svensson among those driving the play.
When Mira Jungaker took Sweden's second penalty at 16:47, Switzerland turned up the pressure on the blue and yellow. Zimmermann, Müller and Wey really started knocking on the door around the crease, while the Swedes threw themselves heroically in front of every puck.
Goal-less after the first period in a game that neither team clearly wanted to lose.
We were halfway through the second period when Swiss goalie Maurer showed just how much punishment a goalie mask can take. She deliberately used her head to redirect a decent effort from Josefin Bouveng up into the netting behind the goal.
Maurer was generally off to a strong start in the second period, with Sweden enjoying most of the puck possession, while Switzerland looked to strike on the counterattack. Norina Müller had a good opportunity midway through the period, but her shot just missed the corner.
Sara Hjalmarsson produced the best shift of the game in the 35th minute. She has been one of the dominant players on the Swedish team for several years, and here she showed exactly why. She was buzzing around the Swiss zone and had an attempt that just went over the corner.
She then took up position right in front of the net and did a brilliant job of tipping Mira Jungaker's shot home.
Class plays from the 28-year-old forward, and Sweden take a 1-0 lead into the second intermission, along with the 17-5-lead in shots on goal
Switzerland came out aggressively at times in the opening stages of the third period, but Ebba Svensson Traff remained solid, turning aside attempts from Laura Zimmermann and Stefanie Wetli. Still, you got the feeling that Sweden had a pretty good grip on the game.
But a 1-0 lead with 10 minutes left in a hockey game isn't exactly a comfortable cushion, as we all know. Did the Swiss have something left in the tank? Perhaps another Alina Müller miracle?
Sweden's Thea Johansson drove hard towards Maurer, got a shot on goal and took a nasty fall. It clearly hurt, but it was also another sign that the Swedes were prepared to do whatever it takes tonight to reach the semi-finals – and get revenge for their defeat in the bronze medal game at the Milano Olympics.
With just over two minutes remaining, Switzerland pulled Saskia Maurer to get the extra attacker on the ice and established heavy pressure in the Swedish zone. But despite creating a number of good chances, the Swiss simply couldn't find a way through the Swedish defensive wall or get past goalie Ebba Svensson Traff.
Huge celebrations in the Swedish camp, while quiet disappointment spread among the Swiss players. Switzerland are heading home, while Sweden can now set their sights on the semi-finals in Herning.