In a course on quantum mechanics I took we were told that for the setting in which the gun shoots a particle with spin orientation +z and the analyzer is perpendicular to this orientation, 50% of the time the Stern-Gerlach apparatus will detect the particle coming out from the +x aperture, and 50% from the -x aperture.
I ran the PhET Stern-Gerlach simulator (https://phet.colorado.edu/sims/stern-gerlach/stern-gerlach_en.html) with one analyzer (magnet) and obtained the following results:
at 0 deg. angle: 100% from +x
at 90 deg. angle: 50% from +x, 50% from -x
at 180 deg. angle: 100% from -x
at 270 deg. angle: ca. 3% from -x, ca. 97% from +x
Is this last result an error of the simulator? Or how can it be explained?