A semiconductor device which is capable of high-speed writing with less power consumption and suitable for multi-leveled memory, and verifying operation. Power multiplexing is achieved by input switches that are also the switching elements of the switching converter, thus eliminating an additional power multiplexer. A magazine is mounted in the chamber. Each of the samples represents a multidimensional feature vector. The present invention can provide a method for manufacturing a metal film capable of improving film characteristics such as conductivity, reflectance, and uniformity in thickness, and the like, as well as remarkably shortening the time for forming the metal film, thereby efficiently manufacturing a superior-quality metal film.