We consider a simple approach of standard Ginzburg–Landau free-energy functional for a wire to study the properties of superconducting nanowires, and analyze the problem of quantum and thermally activated phase slips. In such systems one can consider a possibility for phase slips to be created not only due to thermal but also due to quantum fluctuations of a superconducting order parameter. We obtain some expressions of the free energy, the entropy, the specific heat and the bias current, respectively. The bias current I is a function of the temperature and the length of superconducting nanowires, and has a quantum phase slip. We obtain the stochastic dynamics of superconductive-resistive switching in hysteretic current-biased superconducting nanowires undergoing phase-slip fluctuations, and obtain the distribution of switching currents. Our results can be verified in modern experiments with superconducting nanowires.