In this paper we show how the IBM superconducting chips can be a powerful tool for teaching foundations of quantum mechanics for undergraduate students (for graduates as well, in some cases). To this end, we briefly discuss about the main elements of the IBM Quantum Experience platform necessary to understand this paper, i.e., how to implement operations and single-qubit measurements. We experimentally study the dynamics of single spin systems interacting with static and time-dependent magnetic fields. First, we study the resonant behavior of a single spin coupled to a time-dependent rotating magnetic field. To end, we study the Larmor precession phenomenon. In both cases we show the theoretical and real experimental implementation. This article could be useful in introductory courses on quantum mechanics and nuclear magnetic resonance foundations, for example.