According to one aspect, the present description relates to a process of allocating logical qubits of a quantum algorithm to physical qubits of a quantum processor arranged according to a given architecture. The process includes: establishing (210),A connection diagram based on the architecture;Mechanism (220),According to the quantum algorithm, a logic operation diagram;Assigning (230) weights to each logical qubit;Classifying logical qubits according to weight (240);Assigning the first logical qubit selected according to the weight to the first physical qubit of the quantum register;An iterative process (260) for allocating remaining allocation logic qubits includes calculating (265) scores; And reproducing the allocation iterative process (260) until the last remaining logical qubit is allocated, so as to obtain the configuration of allocating the logical qubit of the quantum algorithm to the physical qubit of the quantum processor.Figure 2
展开▼