  The operating system is designed to manage the hardware and software
resources of a computer. With the development of quantum computing, the
management of quantum resources and cooperation between quantum systems and
other computing resources (e.g. CPU, GPU and FPGA etc.) become the key
challenge for the application of quantum computing to solve real world
problems. In this paper we propose a quantum operating system, Origin Pilot.
Origin Pilot includes the module of quantum task scheduling, quantum resource
management, quantum program compilation and qubits' automatic calibration. With
these modules, Origin Pilot can manage the quantum computing resources and
solve the multi-quantum processor scheduling problem. It can also allow the
parallel execution of multiple quantum programs and calibrate the quantum
resource effectively. Thus, the performance of resources is guaranteed and the
resource utilization is improved. By comparing the results with and without
Origin Pilot, we evaluate the impact on a quantum circuit's fidelity of qubits
mapping algorithm. We also evaluate the effectiveness of automatic calibration
and parallel execution of multi-quantum processors. Finally, Origin Pilot can
be easily customized for hybrid computing resources.
