CN111930294B - Quantum dragging method of quantum cloud platform system - Google Patents

Quantum dragging method of quantum cloud platform system Download PDF

Info

Publication number
CN111930294B
CN111930294B CN202010708617.4A CN202010708617A CN111930294B CN 111930294 B CN111930294 B CN 111930294B CN 202010708617 A CN202010708617 A CN 202010708617A CN 111930294 B CN111930294 B CN 111930294B
Authority
CN
China
Prior art keywords
quantum
dragged
register
cloud platform
drag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010708617.4A
Other languages
Chinese (zh)
Other versions
CN111930294A (en
Inventor
于洪真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Scientific Research Institute Co Ltd
Original Assignee
Shandong Inspur Scientific Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Scientific Research Institute Co Ltd filed Critical Shandong Inspur Scientific Research Institute Co Ltd
Priority to CN202010708617.4A priority Critical patent/CN111930294B/en
Publication of CN111930294A publication Critical patent/CN111930294A/en
Application granted granted Critical
Publication of CN111930294B publication Critical patent/CN111930294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N10/00Quantum computing, i.e. information processing based on quantum-mechanical phenomena
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computing Systems (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a quantum drawing method of a quantum cloud platform system, which can realize the special requirements of the quantum cloud platform on the operation of drawing quantum elements onto a quantum register and the deleting operation of the quantum elements on the quantum register. Which comprises the following steps: starting to drag, cloning the dragged quantum element; dragging the specified quantum element to the specified quantum register; when the measurement element is dragged onto the quantum register, when another quantum element is dragged continuously, judging whether the previous element is the measurement element or not, if the measurement element is automatically moved to a position before the measurement element in the execution step, normally arranging the measurement elements in sequence if the measurement element is not dragged continuously.

Description

Quantum dragging method of quantum cloud platform system
Technical Field
The invention relates to a quantum drag method of a quantum cloud platform system, and belongs to the technical field of web front ends.
Background
Quantum computing ideas were first proposed by feiman in the 80 s of the 20 th century, which is considered to be a new type of computing model with a subversive impact on the future. The quantum computer is a computing system formed by a quantum chip and an external measurement and control system, the front end and the rear end are required to display the results of each experiment to a user more intuitively through data interaction and can realize the operation on the data, the most important part is a series of operations of storing the quanta into a quantum register, such as the drag-drop and the deletion of the quanta, but the components which do not realize the method are not available at present, so the writing of the method is particularly important.
Disclosure of Invention
The invention aims to provide a quantum cloud platform system quantum dragging method which can realize the special requirements of a quantum cloud platform on the operation when a quantum element is dragged onto a quantum register and the deleting operation of the quantum element on the quantum register.
The invention aims to achieve the aim, and the aim is achieved by the following technical scheme:
a quantum drag method of a quantum cloud platform system comprises the following steps:
s1, starting to drag, and cloning a dragged quantum element;
s2, dragging the appointed quantum element to an appointed quantum register;
s3, when the measurement element is dragged to the quantum register, and when another quantum element is dragged, judging whether the previous element is the measurement element or not, if yes, executing the step S4, and if not, executing the step S5;
s4, when the quantum element is continuously dragged, the quantum element automatically moves to a position before the measurement element;
s5, the quantum elements are placed normally in sequence.
The quantum cloud platform system quantum drag method is preferably adopted, and the specific process of the step S1 is as follows: and adding a draggable method to the quantum element, and performing a clone operation of the dom element on the quantum element when the quantum element is dragged by a mouse.
The quantum cloud platform system quantum drag method is preferably adopted, and the specific process of the step S2 is as follows:
s201, representing a quantum register by a line on a quantum cloud platform, and then adding a method capable of being dragged and dropped to the dom element corresponding to the line to enable the dragged quantum element to be dropped onto the line representing the quantum register at the moment;
s202, each quantum register is equivalent to an array, and each time a quantum element is dragged to a line, a special symbol representing the element is added into the array by a push method for the array of the quantum register of the line object on a code;
s204, when the quantum elements on the quantum register are deleted, identifying which quantum element is deleted by adding id attribute to each quantum element, then deleting the deleted quantum element in the array by using a splice method, traversing the array again, and re-rendering the data of the new array on the quantum register.
According to the quantum cloud platform system quantum drag method, the step S5 is executed, the drag elements are normally stored in sequence by a push method, and the step S4 is executed, and an inserting operation is carried out on the drag elements by a splice method.
The invention has the advantages that: the method can realize the special requirements of the quantum cloud platform on the operation when the quantum element is dragged onto the quantum register and the deleting operation of the quantum element on the quantum register.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention.
FIG. 1 is a flow chart of an embodiment of the present invention.
FIG. 2 is a schematic diagram of dragging a specified quantum element to a specified quantum register.
Fig. 3 is a schematic diagram of quantum elements sequentially arranged in a quantum register.
Fig. 4 is a schematic diagram showing sequential forward movement of the quantum elements after deletion.
Fig. 5 is a schematic diagram of a quantum element to be stored with a measurement element in front of the position.
Fig. 6 is a schematic diagram showing the alignment of a new quantum element after dragging to a measuring element.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The quantum drag method of the quantum cloud platform system specifically comprises the following steps:
1) As shown in FIG. 2, a dragable method is added to the displayed quantum element, so that the displayed quantum element has a dragable effect, and a clip operation of a dom element is performed on the displayed quantum element when the quantum element is dragged by a mouse, so that the displayed element is not dragged away and a quantum element which is identical to the displayed quantum element is also dragged away;
(2) As shown in fig. 3, the quantum register is represented by a line on the quantum cloud platform, and then a method capable of being dragged and dropped is added to the dom element corresponding to the line, so that the dragged quantum element can be dropped on the line representing the quantum register at the moment;
(3) Each quantum register is equivalent to an array, and each time a quantum element is dragged to a line, a special symbol representing the element is added into the array by a push method on the array of the quantum register of the line object on a code;
(4) Referring to fig. 4, when deleting the quantum elements on the quantum register, identifying which quantum element to delete by adding id attribute to each quantum element, then deleting the quantum element in the array by using a slice method, traversing the array again, and re-rendering the data of the new array on the quantum register;
(5) Referring to fig. 5 and 6, when the measurement element is dragged onto the quantum register, when the quantum is dragged again, judging whether the previous element is the measurement element, if yes, putting the new quantum element to be dragged and dropped onto the previous one of the measurement element by using the splice method of the array, and because the measurement element must be at the last one of all elements, traversing whether the array represented by the quantum register exists or not when the measurement element is dragged and dropped, if not, storing the measurement element in sequence normally by using the push method, and if yes, performing an inserting operation on the dragged element by using the splice method.
Finally, it should be noted that: the foregoing description is only a preferred embodiment of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (3)

1. A quantum drag method of a quantum cloud platform system is characterized in that: the method comprises the following steps:
s1, starting to drag, and cloning a dragged quantum element;
s2, dragging the appointed quantum element to an appointed quantum register;
s3, when the measurement element is dragged to the quantum register, and when another quantum element is dragged, judging whether the previous element is the measurement element or not, if yes, executing the step S4, and if not, executing the step S5;
s4, when the quantum element is continuously dragged, the quantum element automatically moves to a position before the measuring element;
s5, normally placing quantum elements in sequence;
the specific process of step S2 is as follows:
s201, representing a quantum register by a line on a quantum cloud platform, and then adding a method capable of being dragged and dropped to the dom element corresponding to the line to enable the dragged quantum element to be dropped onto the line representing the quantum register at the moment;
s202, each quantum register is represented by an array in the background, and each time a quantum element is dragged to a line, a special symbol representing the element is added into the array by a push method for the array of the quantum register of the line object on a code;
s204, when the quantum elements on the quantum register are deleted, identifying which quantum element is deleted by adding id attribute to each quantum element, then deleting the deleted quantum element in the array by using a splice method, traversing the array again, and re-rendering the data of the new array on the quantum register.
2. The quantum cloud platform system quantum drag method of claim 1, wherein the quantum cloud platform system quantum drag method is characterized by: the specific process of step S1 is as follows: and adding a draggable method to the quantum element, and performing a clone operation of the dom element on the quantum element when the quantum element is dragged by a mouse.
3. The quantum cloud platform system quantum drag method according to claim 1 or 2, wherein: and executing the step S4 to store the drag elements in sequence normally by using a push method, and executing the step S5 to perform an inserting operation on the drag elements by using a splice method.
CN202010708617.4A 2020-07-22 2020-07-22 Quantum dragging method of quantum cloud platform system Active CN111930294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010708617.4A CN111930294B (en) 2020-07-22 2020-07-22 Quantum dragging method of quantum cloud platform system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010708617.4A CN111930294B (en) 2020-07-22 2020-07-22 Quantum dragging method of quantum cloud platform system

Publications (2)

Publication Number Publication Date
CN111930294A CN111930294A (en) 2020-11-13
CN111930294B true CN111930294B (en) 2023-06-16

Family

ID=73315219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010708617.4A Active CN111930294B (en) 2020-07-22 2020-07-22 Quantum dragging method of quantum cloud platform system

Country Status (1)

Country Link
CN (1) CN111930294B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010136671A1 (en) * 2009-05-28 2010-12-02 Anabole Etudes Sarl Method and device for handling quantum data
CN109213603A (en) * 2018-05-31 2019-01-15 合肥本源量子计算科技有限责任公司 A kind of cloud platform and platform operation method for docking quantum computer and user
AU2017345039A1 (en) * 2016-08-01 2019-02-21 Northrop Grumman Systems Corporation Quantum gates via multi-step adiabatic drag
CN110210067A (en) * 2019-05-08 2019-09-06 合肥本源量子计算科技有限责任公司 It is a kind of to determine method, apparatus based on the threshold lines for measuring track
CN110780818A (en) * 2019-10-24 2020-02-11 山东浪潮人工智能研究院有限公司 Quantum measurement and control system software-based file implementation method for reading any data
US10592626B1 (en) * 2018-10-09 2020-03-17 International Business Machines Corporation Visualizing or interacting with a quantum processor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10501792B2 (en) * 2014-01-17 2019-12-10 Seth Harvey Lichter Nanochannel compositions and methods
US10068183B1 (en) * 2017-02-23 2018-09-04 Edico Genome, Corp. Bioinformatics systems, apparatuses, and methods executed on a quantum processing platform
US20190102496A1 (en) * 2017-09-29 2019-04-04 International Business Machines Corporation Interactive user interface for composing quantum circuits
JP6963277B2 (en) * 2017-10-24 2021-11-05 日本電信電話株式会社 Conversion device, judgment device, and calculation device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010136671A1 (en) * 2009-05-28 2010-12-02 Anabole Etudes Sarl Method and device for handling quantum data
AU2017345039A1 (en) * 2016-08-01 2019-02-21 Northrop Grumman Systems Corporation Quantum gates via multi-step adiabatic drag
CN109213603A (en) * 2018-05-31 2019-01-15 合肥本源量子计算科技有限责任公司 A kind of cloud platform and platform operation method for docking quantum computer and user
US10592626B1 (en) * 2018-10-09 2020-03-17 International Business Machines Corporation Visualizing or interacting with a quantum processor
CN110210067A (en) * 2019-05-08 2019-09-06 合肥本源量子计算科技有限责任公司 It is a kind of to determine method, apparatus based on the threshold lines for measuring track
CN110780818A (en) * 2019-10-24 2020-02-11 山东浪潮人工智能研究院有限公司 Quantum measurement and control system software-based file implementation method for reading any data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谭明锋 等.量子算法模拟实现技术研究.《国防科技大学学报》.2000,第22卷(第2期),第86-89页. *

Also Published As

Publication number Publication date
CN111930294A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
JP6029767B2 (en) Icon arrangement method, apparatus, device, program, and recording medium
US11270066B2 (en) Temporary formatting and charting of selected data
US20140047308A1 (en) Providing note based annotation of content in e-reader
US20120151312A1 (en) Editing a fragmented document
US8095575B1 (en) Word processor data organization
CN109885819B (en) Data table dynamic adjustment method, system, device and storage medium
CN102984357B (en) Contact person information managing method and managing device
CN103442135A (en) Processing method for merging contact items and eliminating duplication and touch control terminal
CN105468373A (en) Branch merging method and device
CN107704604A (en) A kind of information persistence method, server and computer-readable recording medium
CN107423270B (en) Method for realizing real-time mutual conversion between on-line flow chart and code
US20090319955A1 (en) Techniques for a navigation based design tool
US10521499B2 (en) Method and device for editing data
CN103218425B (en) The disposal route of browser extension item and device
CN111309215A (en) Processing method, device, equipment and storage medium of sliding list in Unity
CN111930294B (en) Quantum dragging method of quantum cloud platform system
CN107092519A (en) A kind of function displaying method, equipment and terminal device
CN109324733A (en) In the content processing method and equipment of terminal
CN110704468A (en) Data updating method and device and controller
US20160188538A1 (en) Method and apparatus of building intermediate character library
CN114385562A (en) Text information deleting method and device and electronic equipment
US9710571B2 (en) Graphical top-down planning system
CN112099774A (en) Quantum cloud platform front-end development method
CN106339431B (en) Robot program's document handling method and system based on text block
CN111144090A (en) File comparison method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230511

Address after: 250000 building S02, No. 1036, Gaoxin Inspur Road, Jinan, Shandong

Applicant after: Shandong Inspur Scientific Research Institute Co.,Ltd.

Address before: 250104 1st floor, R & D building, No. 2877, Suncun Town, Licheng District, Jinan City, Shandong Province

Applicant before: JINAN INSPUR HIGH-TECH TECHNOLOGY DEVELOPMENT Co.,Ltd.

GR01 Patent grant
GR01 Patent grant