Quantum entanglement operation method of quantum cloud platform system

Through the combination of JavaScript programming language and ElementUi components, the drag-and-drop, editing and data transfer of cross-line quantum elements in the quantum cloud platform are realized, which solves the complexity problem of cross-line entanglement operations in the existing technology and provides information on the position of quantum entanglement. The dynamic editing capabilities of the number and number of lines meet the needs of circuit programming.

CN111967602BActive Publication Date: 2024-09-20SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010815375.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-14
Publication Date
2024-09-20
Estimated Expiration
2040-08-14

AI Technical Summary

Technical Problem

Existing technology cannot effectively realize the drag-and-drop and editing operations of cross-line quantum elements in the quantum cloud platform. Especially when performing cross-line entanglement editing on quantum registers, there is a lack of feasible component support, resulting in complex writing and difficulty in achieving dynamic editing.

Method used

A quantum entanglement operation method of the quantum cloud platform system is adopted to realize drag-and-drop, add, edit and delete operations of cross-line quantum elements through JavaScript programming language, use the array splice method to re-render the interface, and add editable events through the ElementUi component, dynamically Create and modify the position and number of quantum elements across lines.

Benefits of technology

It realizes the display and editing of quantum entanglement on the front-end page, can transfer data to the backend according to specific requirements, solves the needs that cannot be realized by existing components, provides dynamic editing capabilities for the position and number of quantum entanglement, and satisfies circuit programming. specific needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111967602B
    Figure CN111967602B
Patent Text Reader

Abstract

A method for operating quantum entanglement in a quantum cloud platform system, which displays quantum entanglement on the front-end page, edits and changes cross-lines and deletes it, and can transmit it to the back-end data as required. This method is completed using the JavaScript programming language. This method is for those who have special requirements for data transmitted to the back-end and cannot be completed with existing components, and requires programming with native JavaScript. When quantum entanglement is required in circuit programming, we drag and drop the display icon representing the cross-line entangled quantum onto the horizontal line representing the quantum register on the front-end page. At this time, we can edit the quantum entanglement, and can dynamically implement the editing and changing of the cross-line position and the number of cross-line lines of this cross-line quantum through JavaScript language programming. This method is developed using JavaScript language for the above-described situation to achieve the above requirements that cannot be achieved with components.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of web front-end and quantum entanglement, and in particular to a quantum cloud platform system quantum entanglement operation method. Background Art

[0002] The idea of ​​quantum computing was first proposed by Feynman in the 1980s. It is considered to be a new computing model with a disruptive impact on the future. A quantum computer is a computing system composed of a quantum chip and an external measurement and control system. The operation of quantum requires the front-end and back-end to interact with each other through data to make the results of each experiment more intuitively displayed to the user and to realize the operation of data. Some of the key functions are a series of operations on the storage of cross-line quantum in quantum registers, such as quantum cross-line entanglement editing. However, there is no component that implements this method available for use. Therefore, the writing of this method is particularly important. Summary of the invention

[0003] In order to overcome the shortcomings of the above technologies, the present invention provides a method for solving the unique needs of dragging cross-line quantum elements to quantum registers and editing cross-line after dragging them to registers in quantum cloud platforms.

[0004] The technical solution adopted by the present invention to overcome the technical problems is:

[0005] A quantum cloud platform system quantum entanglement operation method, comprising the following steps:

[0006] a) Start dragging the cross-line quantum element;

[0007] b) adding the cross-line quantum element to the quantum register array;

[0008] c) Add and edit the cross-line sub-item event by clicking on the cross-line sub-item;

[0009] d) When the cross-line quantum is shortened across multiple cross-lines to a number less than the number of cross-lines it crosses at this time, the array splice method is used to delete and add the cross-line quantum element. After all the original filling elements are deleted, the array rendering interface is traversed again to add the station filling elements on the cross-line to the cross-line quantum element.

[0010] Furthermore, in step b), after adding the cross-line quantum element to the quantum register array, a cross-line quantum is dynamically created using JavaScript statements, so that the cross-line quantum is located on two cross-lines.

[0011] Furthermore, in step c), an editable cross-line quantum event is added through a pop-up window in the ElementUi component.

[0012] Furthermore, in step c), after adding fillable start and end positions through a pop-up window in the ElementUi component, the length of the cross-line is calculated by the difference between the start position and the end position, and an attribute representing the end position is added to the end quantum, and a blank station element is used for the position of the cross-line.

[0013] The beneficial effects of the present invention are: by displaying quantum entanglement on the front-end page, editing, changing cross-line and deleting, and transmitting to the back-end data as required, the method is completed using the JavaScript programming language. This method is for those who have special requirements for the data transmitted to the back-end and cannot be completed with existing components, and requires programming and implementation with native JavaScript. When quantum entanglement is required in circuit programming, we drag and drop the display icon representing the cross-line entangled quantum onto the horizontal line representing the quantum register on the front-end page. At this time, we can edit the quantum entanglement, and can dynamically implement the editing and changing operations of the cross-line position and the number of cross-line lines of this cross-line quantum through JavaScript language programming. This method is developed using JavaScript language for the above-described situation to achieve the above requirements that cannot be achieved with components. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION

[0015] The following is combined with Figure 1 The present invention is further described.

[0016] A quantum cloud platform system quantum entanglement operation method, comprising the following steps:

[0017] a) Start dragging the cross-line quantum element.

[0018] b) However, when the displayed cross-line quantum is dragged to the quantum register, the displayed element is not directly cloned, but the dragged cross-line quantum element is added to the quantum register array.

[0019] c) Add and edit the cross-line sub-event by clicking on the cross-line sub-event.

[0020] d) When the cross-line quantum is shortened across multiple cross-lines to a number less than the number of cross-lines it crosses at this time, the array splice method is used to delete and add the cross-line quantum element. After all the original filling elements are deleted, the array rendering interface is traversed again to add the station filling elements on the cross-line to the cross-line quantum element.

[0021] The method of displaying quantum entanglement on the front page, editing, changing cross-lines and deleting, and transmitting data to the backend as required is completed using the JavaScript programming language. This method is for those who have special requirements for data transmitted to the backend and cannot be completed with existing components, and requires programming with native JavaScript. When quantum entanglement is required in circuit programming, we drag the display icon representing the cross-line entangled quantum and drop it on the horizontal line representing the quantum register on the front page. At this time, we can edit the quantum entanglement, and dynamically implement the editing and changing of the cross-line position and number of cross-line lines of this cross-line quantum through JavaScript language programming. This method uses JavaScript language for the above-described situation to achieve the above requirements that cannot be achieved with components.

[0022] Embodiment 1:

[0023] Preferably, in step b), after adding the cross-line quantum element to the quantum register array, a cross-line quantum is dynamically created using JavaScript statements, so that the cross-line quantum is located on two cross-lines.

[0024] Embodiment 2:

[0025] In step c), editable cross-line quantum events are added through a pop-up window in the ElementUi component.

[0026] Embodiment 3:

[0027] In step c), after adding fillable start and end positions through the pop-up window in the ElementUi component, the length of the cross-line is calculated by the difference between the start position and the end position, and an attribute representing the end position is added to the end quantum. A blank station element is used for the position of the cross-line, so that the elements dragged later will not be dragged onto the line.

[0028] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A quantum cloud platform system quantum entanglement operation method, characterized in that: The steps include: a) Start dragging the cross-line quantum element; b) adding the cross-line quantum element to the quantum register array; c) Add and edit the cross-line sub-item event by clicking on the cross-line sub-item; d) When the cross-line quantum is shortened to a number less than the number of cross-lines spanned at this time, the cross-line quantum element is deleted and added using the array splice method. After all the original place-filling elements are deleted, the array rendering interface is traversed again, and the place-filling elements on the cross-line are added to the cross-line quantum element; In step b), after adding the cross-line quantum element to the quantum register array, a cross-line quantum is dynamically created using JavaScript statements so that the cross-line quantum is located on two cross-lines; In step c), an event that can edit cross-line quantum is added through a pop-up window in the ElementUi component; In step c), after adding fillable start and end positions through the pop-up window in the ElementUi component, the length of the cross-line is calculated by the difference between the start position and the end position, and an attribute representing the end position is added to the end quantum, and a blank placeholder element is used for the cross-line position.