We investigate the quantum-mechanical transmission of electrons in a four-terminal quantum waveguide ( FTQW) subjected to an inhomogeneous magnetic field perpendicular to the FTQW plane with the use of the mode-matching technique. An electron incident through one channel of the waveguide can travel into the other three channels in the quantum ballistic regime. The results show that in zero field the transmission coefficients in two channels perpendicular to the main wire are of similar behavior, but different from that of the channel parallel to the main wire. However, in an applied magnetic f...