Through loops vectorization in instruction sequence, the vector power provided by hardware can be fully utilized. This paper analyzes the RISC instructton set, and presents a single loop vectorization method that is based on assemble code, it can efficiently detect single loops in instruct sequence and vectorize them.
The Quantum Computer has immense power,exceeds the capabilities of a classical computer,but the hardware of such machine is still in research. If we want to develop quantum algorithms,wemust simulate them on classical computer. In this paper ,we first introduce the principle and model usedin quantum computing,and compare the simulators in tile world. At last ,based on the problems in simu-lation,we give a new architecture of quantum algorithm simulator.