Numerical solution of the timeâdependent Schrödinger equation with a positionâdependent effective mass is challenging to compute due to the presence of the nonâconstant effective mass. To tackle the problem we present operator splittingâbased numerical methods. The wavefunction will be propagated either by the Krylov subspace methodâbased exponential integration or by an asymptotic Green's functionâbased time propagator. For the former, the wavefunction is given by a matrix exponential whose associated matrixâvector product can be approximated by the Krylov subspace method; and for the latter, the wavefunction is propagated by an integral with retarded Green's function that is approximated asymptotically. The methods have complexity O(NlogN)$$ O\left(N\log N\right) $$ per step with appropriate algebraic manipulations and fast Fourier transform, where N$$ N $$ is the number of spatial points. Numerical experiments are presented to demonstrate the accuracy, efficiency, and stability of the methods.