Method and device for displaying quantum state evolution process
By obtaining the control pulse waveform of the quantum logic gate and mapping it to the Bloch sphere, the evolution process of quantum states is demonstrated, and the problem that the existing technology cannot intuitively display the evolution of two-bit quantum states is solved, and an intuitive understanding of the evolution process of quantum states is achieved. .
Patent Information
- Application Number
- CN202010472521.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-29
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-05-29
AI Technical Summary
Existing quantum computing technology cannot intuitively and vividly demonstrate the evolution of two-bit quantum states in geometric space.
By obtaining the control pulse waveform of the quantum logic gate to be displayed, the vector information and associated vector information of the qubit are determined, and the information is displayed using a Bloch sphere in the display interface to intuitively show the evolution of quantum states.
This realizes an intuitive display of the evolution process of two-bit quantum states in geometric space, helping to understand the complexity and entanglement relationship of quantum computing.
Smart Images

Figure CN113743610B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of quantum computing technology, and in particular to a method and device for displaying a quantum state evolution process. Background Art
[0002] Quantum computing is currently considered to be a new computing model with a disruptive impact on the future. Based on the characteristics of coherent superposition and entanglement of microscopic quantum bits, as well as the reversibility of quantum circuits, quantum computers are far superior to traditional computers in computing speed and energy consumption. In the future, it has great potential application value in artificial intelligence, data search, chemical simulation, biopharmaceuticals and other fields.
[0003] Universal quantum computers can operate using a complete set of quantum logic gates consisting of single-bit and two-bit gates, similar to the logic gates of traditional computers. However, neither abstract quantum circuits nor actual quantum chips can currently visually demonstrate how a two-bit quantum state evolves in geometric space. Summary of the Invention
[0004] The embodiments of the present application provide a method and device for displaying the evolution process of a quantum state, which can solve the current technical problem of being unable to intuitively and vividly display the evolution process of a two-bit quantum state in a geometric space.
[0005] In a first aspect, an embodiment of the present application provides a method for displaying a quantum state evolution process, the method comprising:
[0006] Obtaining a control pulse waveform of a quantum logic gate to be demonstrated, wherein the control pulse waveform includes two parts, acting on the first quantum bit and the second quantum bit respectively;
[0007] Based on the control pulse waveform, determining first vector information of the first qubit, second vector information of the second qubit, and correlation vector information between the first qubit and the second qubit;
[0008] A first Bloch sphere mapped with the first vector information, a second Bloch sphere mapped with the second vector information, and a third Bloch sphere mapped with the associated vector information are displayed on a display interface.
[0009] In a feasible implementation, determining first vector information of the first qubit, second vector information of the second qubit, and correlation vector information between the first qubit and the second qubit based on the control pulse waveform includes:
[0010] Determining a time-dependent density matrix corresponding to the control pulse waveform based on the time-dependent Schrödinger equation;
[0011] Based on the time-dependent density matrix, the first vector information, the second vector information and the associated vector information are determined respectively.
[0012] In a feasible implementation manner, determining the first vector information, the second vector information, and the associated vector information based on the time-dependent density matrix respectively includes:
[0013] The first vector information (r x 、r y 、r z ):
[0014]
[0015]
[0016]
[0017] The second vector information (d x d y d z ):
[0018]
[0019]
[0020]
[0021] The association vector information (R xx 、R xy 、R xz )、(R yx 、R yy 、R yz )、(R zx 、R zy 、R zz ):
[0022]
[0023] Wherein, ρ represents the time-dependent density matrix, I represents the identity matrix, σ x , σ y , σ z Represent the Pauli matrices corresponding to the X-axis, Y-axis, and Z-axis respectively, i∈{x, y, z}, j∈{x, y, z}.
[0024] In a feasible embodiment, the first Bloch sphere includes a first pointer, and the first end of the first pointer is located at the center of the first Bloch sphere; the second Bloch sphere includes a second pointer, and the first end of the second pointer is located at the center of the second Bloch sphere; the third Bloch sphere includes a third pointer, a fourth pointer, and a fifth pointer, and the first ends of the third pointer, the fourth pointer, and the fifth pointer are all located at the center of the third Bloch sphere;
[0025] Before displaying the first Bloch sphere mapped with the first vector information, the second Bloch sphere mapped with the second vector information, and the third Bloch sphere mapped with the association vector information on the display interface, the method includes:
[0026] The first vector information (r x 、r y 、r z ) is mapped to the coordinates of the second end of the first pointer; the second vector information (d x d y d z ) is mapped to the coordinates of the second end of the second pointer; the associated vector information (R xx 、R xy 、R xz )、(R yx 、R yy 、R yz )、(R zx 、R zy 、R zz ) are mapped in sequence to the coordinates of the second end of the third pointer, the coordinates of the second end of the fourth pointer, and the coordinates of the second end of the fifth pointer.
[0027] In a second aspect, an embodiment of the present application provides a device for displaying a quantum state evolution process, the device comprising:
[0028] An acquisition module is used to acquire a control pulse waveform of the quantum logic gate to be demonstrated, wherein the control pulse waveform includes two parts, acting on the first quantum bit and the second quantum bit respectively;
[0029] a processing module, configured to determine, based on the control pulse waveform, first vector information of the first qubit, second vector information of the second qubit, and correlation vector information between the first qubit and the second qubit;
[0030] The display module is configured to display, in a display interface, a first Bloch sphere mapped with the first vector information, a second Bloch sphere mapped with the second vector information, and a third Bloch sphere mapped with the associated vector information.
[0031] In a feasible implementation manner, the processing module is specifically configured to:
[0032] Determining a time-dependent density matrix corresponding to the control pulse waveform based on the time-dependent Schrödinger equation;
[0033] Based on the time-dependent density matrix, the first vector information, the second vector information and the associated vector information are determined respectively.
[0034] In a feasible implementation manner, the processing module is specifically configured to:
[0035] The first vector information (r x 、r y 、r z ):
[0036]
[0037]
[0038]
[0039] The second vector information (d x 、dy、d z ):
[0040]
[0041]
[0042]
[0043] The association vector information (R xx 、R xy 、R xz )、(R yx 、R yy 、R yz )、(R zx 、R zy 、R zz ):
[0044]
[0045] Wherein, ρ represents the time-dependent density matrix, I represents the identity matrix, σ x , σ y , σ z Represent the Pauli matrices corresponding to the X-axis, Y-axis, and Z-axis respectively, i∈{x, y, z}, j∈{x, y, z}.
[0046] In a feasible embodiment, the first Bloch sphere includes a first pointer, and the first end of the first pointer is located at the center of the first Bloch sphere; the second Bloch sphere includes a second pointer, and the first end of the second pointer is located at the center of the second Bloch sphere; the third Bloch sphere includes a third pointer, a fourth pointer, and a fifth pointer, and the first ends of the third pointer, the fourth pointer, and the fifth pointer are all located at the center of the third Bloch sphere;
[0047] The processing module is further configured to:
[0048] The first vector information (r x 、r y 、r z ) is mapped to the coordinates of the second end of the first pointer; the second vector information (d x d y d z ) is mapped to the coordinates of the second end of the second pointer; the associated vector information (R xx 、R xy 、R xz )、(R yx 、R yy 、R yz )、(R zx 、R zy 、R zz ) are mapped in sequence to the coordinates of the second end of the third pointer, the coordinates of the second end of the fourth pointer, and the coordinates of the second end of the fifth pointer.
[0049] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory;
[0050] The memory stores computer-executable instructions;
[0051] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method for displaying the quantum state evolution process as provided in the first aspect.
[0052] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method for displaying the quantum state evolution process provided in the first aspect is implemented.
[0053] The embodiments of the present application provide a method and device for displaying the quantum state evolution process, which obtains a control pulse waveform of a quantum logic gate to be displayed, wherein the control pulse waveform includes two parts, acting on a first quantum bit and a second quantum bit respectively; based on the above control pulse waveform, the first vector information of the first quantum bit, the second vector information of the second quantum bit, and the correlation vector information between the first quantum bit and the second quantum bit are respectively determined; then, a first Bloch sphere mapped with the first vector information, a second Bloch sphere mapped with the second vector information, and a third Bloch sphere mapped with the above correlation vector information are displayed on a display interface. In the embodiments of the present application, the evolution process of the first quantum bit in the geometric space can be displayed by the first Bloch sphere, the evolution process of the second quantum bit in the geometric space can be displayed by the second Bloch sphere, and the process of entanglement and correlation between the first quantum bit and the second quantum bit in the geometric space can be displayed by the third Bloch sphere, thereby intuitively and vividly displaying the evolution process of the two-bit quantum state in the geometric space. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0055] Figure 1 A schematic diagram of a flow chart of a method for displaying the quantum state evolution process provided in an embodiment of the present application;
[0056] Figure 2 A schematic diagram of the evolution process of a two-bit quantum state provided in an embodiment of the present application;
[0057] Figure 3 Another schematic diagram of the evolution process of the two-bit quantum state provided in the embodiments of the present application;
[0058] Figure 4 This is another schematic diagram of the evolution process of the two-bit quantum state provided in the embodiments of the present application;
[0059] Figure 5 A schematic diagram of the structure of a device for displaying the quantum state evolution process provided in an embodiment of the present application;
[0060] Figure 6 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0062] It should be noted that the terms "first," "second," and "third," etc., used in the specification and claims of this application are used to distinguish similar objects to facilitate description of the embodiments of this application, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms "first," "second," and "third" are interchangeable when appropriate.
[0063] In addition, the terms "comprises" and "comprising" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or apparatus that comprises a series of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, product or apparatus.
[0064] This application can be used in website user interfaces (Web UIs) to display the evolution of qubits and their evolutionary paths in geometric space. In particular, it can intuitively and dynamically demonstrate the evolution of a two-bit quantum state in geometric space. For example, it can demonstrate the evolution of a two-bit quantum state in geometric space under different quantum optimization control algorithms.
[0065] In addition, this application can also be applied to various demonstration platforms, which will be of great help to popularize and understand quantum computing among the public.
[0066] The specific system architecture of this application may include a front-end web page, a processing device, and a display page, wherein:
[0067] The processing device can first select the quantum logic gate to be displayed through the front-end web page and determine the front-end information, including: the initial state of the quantum state, the final state or quantum gate operation, the Hamiltonian parameters of the quantum chip, the Hamiltonian basis vector of the quantum control, the pulse parameters, the optimization algorithm, etc. The determined front-end information is then simulated through the back-end simulator to obtain a set of control pulse waveforms. Finally, through the display method of the quantum state evolution process provided by this application, the above-mentioned control pulse waveforms are mapped to the three Bloch spheres on the display page, thereby intuitively and dynamically displaying the evolution process of the two-bit quantum state in the geometric space.
[0068] The present application is described below using detailed embodiments.
[0069] Reference Figure 1 , Figure 1 This is a flow chart of a method for displaying the quantum state evolution process provided in an embodiment of the present application. In one feasible embodiment of the present application, the method for displaying the quantum state evolution process includes:
[0070] S101. Obtain a control pulse waveform of a quantum logic gate to be demonstrated, where the control pulse waveform includes two parts, acting on a first quantum bit and a second quantum bit respectively.
[0071] Among them, the above-mentioned quantum bit is also called qubit or qbit, and the state of the quantum bit can be understood as the state of a microscopic particle, that is, the quantum state.
[0072] The quantum logic gate to be demonstrated above can be a quantum controlled NOT gate (CNOT gate for short). The controlled NOT gate operates on two quantum bits, one of which is a control quantum bit and the other is a controlled quantum bit. The controlled quantum bit is flipped only when the state of the control quantum bit is "|1>", otherwise it remains unchanged.
[0073] Optionally, the control pulse waveform may be a set of microwave pulse timing waveforms or electrical signal timing waveforms.
[0074] S102. Based on the control pulse waveform, determine the first vector information of the first qubit, the second vector information of the second qubit, and the correlation vector information between the first qubit and the second qubit.
[0075] S103 : Displaying on a display interface a first Bloch sphere mapped with the first vector information, a second Bloch sphere mapped with the second vector information, and a third Bloch sphere mapped with the associated vector information.
[0076] In an embodiment of the present application, since the actual operation of the quantum bit is controlled by the above-mentioned control pulse waveform, the first vector information of the above-mentioned first quantum bit in the geometric space, the second vector information of the above-mentioned second quantum bit in the geometric space, and the correlation vector information between the above-mentioned first quantum bit and the second quantum bit can be determined respectively through the above-mentioned control pulse waveform, and then the above-mentioned first vector information is mapped to the first Bloch sphere in the display interface, the above-mentioned second vector information is mapped to the second Bloch sphere in the display interface, and the above-mentioned correlation vector information is mapped to the third Bloch sphere in the display interface, and then the first Bloch sphere mapped with the above-mentioned first vector information, the second Bloch sphere mapped with the above-mentioned second vector information, and the third Bloch sphere mapped with the above-mentioned correlation vector information are displayed in the display interface.
[0077] Among them, the Bloch sphere (also known as the Bloch sphere) is a unit two-dimensional sphere. The north pole and south pole of the sphere usually correspond to the 0 and 1 states of the standard basis vectors of the electron's spin-up and spin-down states, respectively. The surface of the sphere represents the pure state of the quantum bit, and any point within the surface of the sphere represents the mixed state of the quantum bit.
[0078] It can be understood that since the actual operation of the quantum bit is controlled by the control pulse waveform, the present application determines the first vector information of the first quantum bit, the second vector information of the second quantum bit, and the correlation vector information between the first quantum bit and the second quantum bit based on the control pulse waveform, and then maps the determined first vector information, second vector information and correlation vector information to the above-mentioned first Bloch sphere, second Bloch sphere and third Bloch sphere in turn, and then displays them in the display interface, which can show the evolution trajectory of the first quantum bit and the second quantum bit in the geometric space.
[0079] Based on the contents described in the above embodiments, in a feasible implementation manner of the present application, the step S102 described above of determining the first vector information of the first qubit, the second vector information of the second qubit, and the correlation vector information between the first qubit and the second qubit based on the control pulse waveform specifically includes:
[0080] Step a: Based on the time-dependent Schrödinger equation, determine the time-dependent density matrix corresponding to the control pulse waveform.
[0081] In the embodiment of the present application, the density matrix corresponding to the control pulse waveform at the current moment can be determined based on the time-dependent Schrödinger equation and the density matrix corresponding to the control pulse waveform at the previous moment. That is, the current control pulse waveform is mapped to the time-dependent density matrix ρ(t).
[0082] Step b: Based on the time-dependent density matrix, respectively determine the first vector information, the second vector information and the associated vector information.
[0083] Optionally, the first vector information (r x 、r y 、r z ):
[0084]
[0085]
[0086]
[0087] The second vector information (dx d y d z ):
[0088]
[0089]
[0090]
[0091] The correlation vector information (R xx 、R xy 、R xz )、(R yx 、R yy 、R yz )、(R zx 、R zy 、R zz ):
[0092]
[0093] Wherein, ρ represents the time-dependent density matrix, I represents the identity matrix, σ x , σ y , σ z Represent the Pauli matrices corresponding to the X-axis, Y-axis, and Z-axis respectively, i∈{x, y, z}, j∈{x, y, z}.
[0094] Among them, the first Bloch sphere contains a first pointer, and the first end of the first pointer is located at the center of the first Bloch sphere; the second Bloch sphere contains a second pointer, and the first end of the second pointer is located at the center of the second Bloch sphere; the third Bloch sphere contains a third pointer, a fourth pointer and a fifth pointer, and the first ends of the third pointer, the fourth pointer and the fifth pointer are all located at the center of the third Bloch sphere.
[0095] In a feasible implementation manner, the third pointer, the fourth pointer and the fifth pointer are orthogonal.
[0096] To better understand the embodiments of this application, please refer to Figure 2 , Figure 2 A schematic diagram of the evolution of a two-bit quantum state provided in an embodiment of the present application. Figure 2In the figure, the first Bloch sphere 21 includes a first pointer 211, and the first end of the first pointer 211 is located at the center of the first Bloch sphere 21; the second Bloch sphere 22 includes a second pointer 221, and the first end of the second pointer 221 is located at the center of the second Bloch sphere 22; the third Bloch sphere 23 includes a third pointer 231, a fourth pointer 232 and a fifth pointer 233, and the first ends of the third pointer 231, the fourth pointer 232 and the fifth pointer 233 are all located at the center of the third Bloch sphere 23.
[0097] In the embodiment of the present application, the first vector information (r x 、r y 、r z ) is mapped to the coordinates of the second end of the first pointer; the second vector information (d x d y d z ) is mapped to the coordinates of the second end of the second pointer; the associated vector information (R xx 、R xy 、R xz )、(R yx 、R yy 、R yz )、(R zx 、R zy 、R zz ) are sequentially mapped to the coordinates of the second end of the third pointer, the coordinates of the second end of the fourth pointer, and the coordinates of the second end of the fifth pointer. Then, a first Bloch sphere mapped with the first vector information, a second Bloch sphere mapped with the second vector information, and a third Bloch sphere mapped with the associated vector information are displayed on the display interface.
[0098] The method for displaying the quantum state evolution process provided in the embodiments of this application uses the time-dependent Schrödinger equation to map a microwave pulse signal or electrical signal at a specific moment to the pointers of three Bloch spheres in a geometric space. The trajectories of these pointers represent the modulation process of the microwave pulse signal or electrical signal on the first and second qubits, thereby intuitively and dynamically displaying the evolution of the two-bit quantum state in the geometric space.
[0099] To better understand the embodiments of the present application, the following embodiments of the present application illustrate the process of a quantum bit transforming from a separable state to a maximally entangled state (Bell state) through a quantum logic gate operation. The method for demonstrating the above quantum state evolution process includes the following steps:
[0100] Step 1: Obtain a control pulse waveform of the quantum logic gate to be demonstrated. The control pulse waveform can be a set of microwave pulse waveforms or electrical signal timing waveforms.
[0101] Step 2: Determine the time-dependent density matrix ρ(t) corresponding to the control pulse waveform at the current moment through the time-dependent Schrödinger equation and the time-dependent density matrix corresponding to the control pulse waveform at the initial quantum state.
[0102] The initial quantum state is: the first qubit is in state 0, and the second qubit is in a superposition of state 0 and state 1. Since the initial state is a separable state, the modulus lengths of the three pointers on the third Bloch sphere are all 0 (located at the center of the sphere), indicating that there is no correlation information between the first qubit and the second qubit. Figure 3 , Figure 3 Another schematic diagram of the evolution process of the two-bit quantum state provided in the embodiment of the present application.
[0103] Step three: Based on the time-dependent density matrix, determine the first vector information of the first quantum bit, the second vector information of the second quantum bit, and the correlation vector information between the first quantum bit and the second quantum bit.
[0104] Step 4: Displaying the first Bloch sphere mapped with the first vector information, the second Bloch sphere mapped with the second vector information, and the third Bloch sphere mapped with the associated vector information on the display interface.
[0105] When the first qubit and the second qubit reach the final state (or Bell state), the modulus lengths of the first vector information and the second vector information are zero, while the modulus length of the correlation vector information is 1, indicating that the first qubit and the second qubit have reached the maximum entangled state. Figure 4 , Figure 4 This is another schematic diagram of the evolution process of the two-bit quantum state provided in the embodiments of the present application.
[0106] In this embodiment, as the first and second qubits evolve from their initial states to their final states, the pointers in the first and second Bloch spheres gradually return to their origins because the two qubits lose local information due to their mutual correlation. Meanwhile, the modulus of the three pointers on the third Bloch sphere gradually decreases to a maximum unit of 1, indicating that the correlation between the two qubits has reached its maximum.
[0107] The method for displaying the quantum state evolution process provided in the embodiments of the present application can fully depict the evolution process of the two-bit quantum state from the initial state to the final state.
[0108] Based on the same principle, we can also demonstrate the evolution of a two-bit quantum state into a mixed state after being disturbed by external noise; and we can also demonstrate the different evolutionary trajectories of a single-bit quantum state under different optimization algorithms, and the different evolutionary processes of a two-bit quantum state under different optimization algorithms.
[0109] Moreover, the above method only requires three Bloch spheres to fully represent the evolution process of the two-bit quantum state, and can also reduce unnecessary waste of resources.
[0110] Based on the contents described in the above embodiments, a device for displaying the quantum state evolution process is also provided in the embodiments of the present application. Figure 5 , Figure 5 Schematic diagram of the structure of the display device for the quantum state evolution process provided in the embodiment of the present application. In the embodiment of the present application, the display device 50 for the quantum state evolution process includes an acquisition module 501, a processing module 502 and a display module 503, wherein:
[0111] The acquisition module 501 is used to acquire a control pulse waveform of a quantum logic gate to be demonstrated. The control pulse waveform includes two parts, which act on the first quantum bit and the second quantum bit respectively.
[0112] The processing module 502 is configured to determine first vector information of the first qubit, second vector information of the second qubit, and correlation vector information between the first qubit and the second qubit based on the control pulse waveform.
[0113] The display module 503 is configured to display, in a display interface, a first Bloch sphere mapped with the first vector information, a second Bloch sphere mapped with the second vector information, and a third Bloch sphere mapped with the associated vector information.
[0114] An embodiment of the present application provides a device 50 for displaying the evolution process of a quantum state. The device displays the evolution process of a first quantum bit in a geometric space through a first Bloch sphere, displays the evolution process of a second quantum bit in a geometric space through a second Bloch sphere, and displays the process of mutual entanglement and correlation between the first quantum bit and the second quantum bit in a geometric space through a third Bloch sphere, thereby intuitively and vividly displaying the evolution process of a two-bit quantum state in a geometric space.
[0115] In a feasible implementation manner, the processing module 502 is specifically configured to:
[0116] Based on the time-dependent Schrödinger equation, the time-dependent density matrix corresponding to the control pulse waveform is determined;
[0117] Based on the time-dependent density matrix, the first vector information, the second vector information and the associated vector information are determined respectively.
[0118] Optionally, the first vector information (r x 、r y 、r z ):
[0119]
[0120]
[0121]
[0122] The second vector information (d x d y d z ):
[0123]
[0124]
[0125]
[0126] Determine the associated vector information (R xx 、R xy 、R xz )、(R yx 、R yy 、R yz )、(R zx 、R zy 、R zz ):
[0127]
[0128] Where ρ represents the time-dependent density matrix, I represents the identity matrix, and σ x , σ y , σ z Represent the Pauli matrices corresponding to the X-axis, Y-axis, and Z-axis respectively, i∈{x, y, z}, j∈{x, y, z}.
[0129] In a feasible embodiment, the first Bloch sphere contains a first pointer, and the first end of the first pointer is located at the center of the first Bloch sphere; the second Bloch sphere contains a second pointer, and the first end of the second pointer is located at the center of the second Bloch sphere; the third Bloch sphere contains a third pointer, a fourth pointer and a fifth pointer, and the first ends of the third pointer, the fourth pointer and the fifth pointer are all located at the center of the third Bloch sphere.
[0130] The processing module 502 is further configured to:
[0131] The first vector information (r x 、r y 、r z ) is mapped to the coordinates of the second end of the first pointer; the second vector information (d x d y d z ) is mapped to the coordinates of the second end of the second pointer; the associated vector information (R xx、R xy 、R xz )、(R yx 、R yy 、R yz )、(R zx 、R zy 、R zz ) are mapped to the coordinates of the second end of the third pointer, the coordinates of the second end of the fourth pointer, and the coordinates of the second end of the fifth pointer in sequence.
[0132] It should be noted that, in the embodiment of the present application, the specific execution contents of the acquisition module 501, the processing module 502 and the display module 503 can be found in Figures 1 to 4 The relevant contents in the illustrated embodiment will not be described in detail here.
[0133] Furthermore, based on the contents described in the above embodiments, an electronic device is also provided in an embodiment of the present application, which includes at least one processor and a memory; wherein the memory stores computer-executable instructions; the above-mentioned at least one processor executes the computer-executable instructions stored in the memory to implement the steps performed by the method for displaying the quantum state evolution process in the above embodiments, which will not be repeated here in this embodiment.
[0134] In order to better understand the embodiments of the present application, refer to Figure 6 , Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0135] like Figure 6 As shown, the electronic device 60 of this embodiment includes: a processor 601 and a memory 602; wherein:
[0136] Memory 602, for storing computer-executable instructions;
[0137] The processor 601 is configured to execute computer-executable instructions stored in the memory to implement the various steps of the method for displaying the quantum state evolution process in the above embodiment. For details, please refer to the relevant description in the above method embodiment.
[0138] Optionally, the memory 602 may be independent or integrated with the processor 601 .
[0139] When the memory 602 is independently provided, the device further includes a bus 603 for connecting the memory 602 and the processor 601 .
[0140] Furthermore, based on the contents described in the above embodiments, a computer-readable storage medium is also provided in an embodiment of the present application, in which computer execution instructions are stored. When the processor executes the computer execution instructions, the steps performed by the method for displaying the quantum state evolution process in the above embodiments are implemented.
[0141] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or module, which can be electrical, mechanical or other forms.
[0142] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected to achieve the purpose of the solution of this embodiment according to actual needs.
[0143] In addition, the functional modules in the various embodiments of the present application may be integrated into a single processing unit, or each module may exist physically separately, or two or more modules may be integrated into a single unit. The above-mentioned modules may be implemented in the form of hardware or hardware plus software functional units.
[0144] The above-mentioned integrated module implemented in the form of a software functional module can be stored in a computer-readable storage medium. The above-mentioned software functional module is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform some steps of the method described in various embodiments of the present application.
[0145] It should be understood that the processor described above may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), or application-specific integrated circuits (ASICs). A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.
[0146] The memory may include a high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk.
[0147] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be classified into address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0148] The storage medium may be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0149] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium can be located in an application-specific integrated circuit (ASIC). Of course, the processor and storage medium can also exist as discrete components in an electronic device or a main control device.
Claims
1. A method for displaying a quantum state evolution process, characterized in that: The method comprises: Obtaining a control pulse waveform of a quantum logic gate to be demonstrated, wherein the control pulse waveform includes two parts, which act on the first quantum bit and the second quantum bit respectively; Based on the control pulse waveform, first vector information of the first quantum bit, second vector information of the second quantum bit, and correlation vector information between the first quantum bit and the second quantum bit are determined respectively; the correlation vector information is determined based on a time-dependent density matrix, a unit matrix, and Pauli matrices corresponding to the X-axis, the Y-axis, and the Z-axis respectively; A first Bloch sphere mapped with the first vector information, a second Bloch sphere mapped with the second vector information, and a third Bloch sphere mapped with the associated vector information are displayed in a display interface.
2. The method according to claim 1, characterized in that The determining, based on the control pulse waveform, first vector information of the first quantum bit, second vector information of the second quantum bit, and correlation vector information between the first quantum bit and the second quantum bit, respectively, includes: Based on the time-dependent Schrödinger equation, determining the time-dependent density matrix corresponding to the control pulse waveform; Based on the time-dependent density matrix, the first vector information, the second vector information and the associated vector information are determined respectively.
3. The method according to claim 2, characterized in that The determining, based on the time-dependent density matrix, the first vector information, the second vector information, and the associated vector information respectively includes: The first vector information (r) is determined based on the following method x 、r y 、r z ): The second vector information (d x ,d y ,d z ): The association vector information (R) is determined based on the following method: xx , R xy , R xz )、(R yx , R yy , R yz )、(R zx , R zy , R zz ): Wherein, ρ represents the time-dependent density matrix, I represents the identity matrix, σ x , σ y , σ z Represent the Pauli matrices corresponding to the X-axis, Y-axis, and Z-axis respectively, i∈{x, y, z}, j∈{x, y, z}.
4. The method according to claim 3, characterized in that: The first Bloch sphere includes a first pointer, and a first end of the first pointer is located at the center of the first Bloch sphere; The second Bloch sphere includes a second pointer, and a first end of the second pointer is located at the center of the second Bloch sphere; The third Bloch sphere contains a third pointer, a fourth pointer and a fifth pointer, and the first ends of the third pointer, the fourth pointer and the fifth pointer are all located at the center of the third Bloch sphere; Before displaying the first Bloch sphere mapped with the first vector information, the second Bloch sphere mapped with the second vector information, and the third Bloch sphere mapped with the associated vector information in the display interface, the method includes: The first vector information (r x 、r y 、r z ) is mapped to the coordinates of the second end of the first pointer; the second vector information (d x ,d y ,d z ) is mapped to the coordinates of the second end of the second pointer; the associated vector information (R xx , R xy , R xz )、(R yx , R yy , R yz )、(R zx , R zy , R zz ) are mapped to the coordinates of the second end of the third pointer, the coordinates of the second end of the fourth pointer, and the coordinates of the second end of the fifth pointer in sequence.
5. A device for displaying the quantum state evolution process, characterized in that: The device comprises: An acquisition module, used to acquire a control pulse waveform of a quantum logic gate to be displayed, wherein the control pulse waveform includes two parts, which act on the first quantum bit and the second quantum bit respectively; A processing module, configured to determine first vector information of the first quantum bit, second vector information of the second quantum bit, and correlation vector information between the first quantum bit and the second quantum bit based on the control pulse waveform; the correlation vector information is determined based on a time-dependent density matrix, a unit matrix, and Pauli matrices corresponding to the X-axis, the Y-axis, and the Z-axis, respectively; The display module is used to display in a display interface a first Bloch sphere mapped with the first vector information, a second Bloch sphere mapped with the second vector information, and a third Bloch sphere mapped with the associated vector information.
6. The device according to claim 5, characterized in that The processing module is specifically used for: Based on the time-dependent Schrödinger equation, determining the time-dependent density matrix corresponding to the control pulse waveform; Based on the time-dependent density matrix, the first vector information, the second vector information and the associated vector information are determined respectively.
7. The device according to claim 6, characterized in that The processing module is specifically used for: The first vector information (r) is determined based on the following method x 、r y 、r z ): The second vector information (d x ,d y ,d z ): The association vector information (R) is determined based on the following method: xx , R xy , R xz )、(R yx , R yy , R yz )、(R zx , R zy , R zz ): Wherein, ρ represents the time-dependent density matrix, I represents the identity matrix, σ x , σ y , σ z Represent the Pauli matrices corresponding to the X-axis, Y-axis, and Z-axis respectively, i∈{x, y, z}, j∈{x, y, z}.
8. The device according to claim 7, characterized in that The first Bloch sphere includes a first pointer, and a first end of the first pointer is located at the center of the first Bloch sphere; The second Bloch sphere includes a second pointer, and a first end of the second pointer is located at the center of the second Bloch sphere; The third Bloch sphere contains a third pointer, a fourth pointer and a fifth pointer, and the first ends of the third pointer, the fourth pointer and the fifth pointer are all located at the center of the third Bloch sphere; The processing module is also used for: The first vector information (r x 、r y 、r z ) is mapped to the coordinates of the second end of the first pointer; the second vector information (d x ,d y ,d z ) is mapped to the coordinates of the second end of the second pointer; the associated vector information (R xx , R xy , R xz )、(R yx , R yy , R yz )、(R zx , R zy , R zz ) are mapped to the coordinates of the second end of the third pointer, the coordinates of the second end of the fourth pointer, and the coordinates of the second end of the fifth pointer in sequence.
9. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method for displaying the quantum state evolution process as described in any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the method for displaying the quantum state evolution process as described in any one of claims 1 to 4 is implemented.
