Sign In to Follow Application
View All Documents & Correspondence

Implementation Of Density Functional Theory On Quantum Computing Through Meta Generalized Gradient Approximation

Abstract: The disclosure relates generally to methods and systems for implementation of density functional theory on quantum computing through meta generalized gradient approximation (meta GGA). Conventional methods implement DFT simulations on classical processors which is time consuming. The present disclosure provides a quantum circuit for computing the direct matrix efficiently on a quantum processor. Initially, a plurality of atomic coordinates of each atom of a chemical compound whose one or more properties are to be extracted, are obtained. Electron integrals, a core Hamiltonian, and a collocation matrix are computed from the plurality of atomic coordinates. The core Hamiltonian is diagonalized to obtain an initial density matrix of the chemical compound. The initial density matrix is further updated iteratively until a convergence criteria is satisfied using the meta GGA to obtain a final density matrix. The final density matrix is used to extract the one or more properties of the chemical compound. [To be published with FIG. 3]

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
21 December 2023
Publication Number
26/2025
Publication Type
INA
Invention Field
COMPUTER SCIENCE
Status
Email
Parent Application

Applicants

Tata Consultancy Services Limited
Nirmal Building, 9th floor, Nariman point, Mumbai 400021, Maharashtra, India

Inventors

1. MUKHERJEE, Anirban
Tata Consultancy Services Limited, Plot No. 54, 1st & 2nd Floor (Intersil Bldg.), SEEPZ, Andheri (East), BOM, Mumbai 400096, Maharashtra, India
2. GOPAL, Ananthakrishna
Tata Consultancy Services Limited, Plot No. 54, 1st & 2nd Floor (Intersil Bldg.), SEEPZ, Andheri (East), BOM, Mumbai 400096, Maharashtra, India
3. BANERJEE, Ritam
Tata Consultancy Services Limited, Plot No. 54, 1st & 2nd Floor (Intersil Bldg.), SEEPZ, Andheri (East), BOM, Mumbai 400096, Maharashtra, India

Specification

FORM 2
THE PATENTS ACT, 1970
(39 of 1970)
&
THE PATENT RULES, 2003
COMPLETE SPECIFICATION
(See Section 10 and Rule 13)
Title of invention:
IMPLEMENTATION OF DENSITY FUNCTIONAL THEORY ON QUANTUM COMPUTING THROUGH META GENERALIZED GRADIENT APPROXIMATION
Applicant
Tata Consultancy Services Limited
A company Incorporated in India under the Companies Act, 1956
Having address:
Nirmal Building, 9th floor,
Nariman point, Mumbai 400021,
Maharashtra, India
Preamble to the description:
The following specification particularly describes the invention and the manner in which it is to be performed.
2
TECHNICAL FIELD
[001]
The disclosure herein generally relates to quantum computing, and, more particularly, to a method and system for implementation of density functional theory on quantum computing through meta generalized gradient approximation.
BACKGROUND 5
[002]
As quantum hardware and algorithms continue to develop, various industry sectors, particularly the pharmaceutical and material design domains, are applying quantum computation paradigm to their specific problems. For example, many chemical compounds are synthesized and predicted for practical use. Current software packages calculate the energetics and other physical properties of 10 physical/chemical systems using a quantum mechanical (QM) electronic self-consistent field approach called the Kohn-Sham Density functional theory (KS-DFT). However, a computational time complexity bottleneck of the DFT approach has remained a cubic function of the number of electronic orbitals. This is also known as the cubic scaling wall bottleneck in DFT. Most industrially relevant 15 chemical systems in Material sciences industry are bulk materials. One supercell made from a collection of neighboring unit cells involves around thousands of atoms which corresponds to several thousands of electronic orbitals even in the least correlated basis. Currently these chemical systems are treated approximately within the QM/Molecular Mechanical (MM) approach, where only a subsystem with 20 strong quantum correlations is simulated using DFT and the rest is treated only via the MM technique. Identifying these subsystems requires doing prior Molecular mechanical and or Force field analysis and adds to additional overhead cost. The gap in applying this DFT technology to the complete system arises from the cubic scaling wall bottleneck i.e. for a 50000 electronic orbital system (corresponding to 25 a supercell of the bulk material) computing even one KS-DFT step would require 0.001 secs on supercomputer FUGAKU having ๐‘…๐‘š๐‘Ž๐‘ฅ of 442 PETA Flops.
[003]
For all practical purposes, the DFT code should converge within 100 self-consistency steps therefore to simulate one large supercell on FUGAKU would require 0.1 seconds. For real world simulations one would require screening across 30
3
several lakhs of molecular configurations in a supercell and that would require more
than one day. The output electronic density computed from DFT needs to be in turn passed into Force-Field or Molecular mechanical modelling suites that then recomputes the geometric positioning of atoms and the DFT energies needs to be recomputed. Altogether that implies that for slightly larger system such calculations 5 can enter several days of calculations even on the largest of the supercomputers. Similarly the chemical systems in Pharma industry that correspond to Protein drug or protein-protein systems involve more than thousands of atoms which corresponds to a several thousands of electronic orbitals. These chemical systems are treated approximately within the QM/Molecular Mechanical (MM) approach, 10 only a subsystem is treated with strong quantum correlations and is simulated using DFT and the rest is treated only via the MM technique. Drug molecules in the pharma industry have more than 500 Molecular weight, screening across different drug molecules enters across several days of efforts. If time computational complexity of DFT for general chemical systems is reduced even nominally from 15 cubic to quadratic or linear, then several days of calculations can be reduced to a few days or within a day. This would enable faster and more screening in a short duration of time, handling larger QM regions and reduce product discovery time drastically.
[004]
In conventional KS DFT, the computational complexity scales 20 cubically to system size as a consequence of delocalized nature of wave functions which are the eigen solutions of the Kohnโ€“Sham single particle Hamiltonian. For scaling the DFT calculations to large systems, there have been attempts to develop a technique which scales linearly with system size. One such technique is Order-N Electronic Total Energy Package (ONETEP) which uses a basis of non-orthogonal 25 generalized Wannier functions (NGWFs) expressed in terms of periodic cardinal sine (psinc) functions, which are in turn equivalent to a basis of plane-waves. ONETEP, therefore combines benefits of linear scaling with a level of accuracy and variational bounds comparable to traditional cubic-scaling plane-wave approaches. However, ONETEP is primarily designed for periodic systems restricting its 30 application to certain materials and structures. Further, in the current scenario, there
4
have
been efforts to speed up the DFT calculations. The conventions method for speeding up the DFT calculations include Exascale computing using central processing unit (CPU), general processing unit (GPU), message passing interface (MPI), Multiprocessing, and/or the like. However, these have memory and processing limitations. There have been attempts made to implement DFT on a 5 combination of classical and quantum processors. One such approach implements DFT on a classical processor and optimizes the DFT results on a quantum processor. However, the complex calculations are still performed on the classical processor thereby bottlenecks in DFT calculations are still challenging to be overcome. 10
SUMMARY
[005]
Embodiments of the present disclosure present technological improvements as solutions to one or more of the above-mentioned technical problems recognized by the inventors in conventional systems. For example, in one embodiment, a method for implementation of density functional theory on quantum 15 computing through meta generalized gradient approximation is provided. The method includes receiving, via the one or more classical hardware processors, a chemical compound whose one or more properties to be extracted, wherein the chemical compound is at least one of (i) a molecule, and (ii) a solid; obtaining, via the one or more classical hardware processors, a plurality of atomic coordinates of 20 each of a plurality of atoms present in the chemical compound; determining, via the one or more classical hardware processors, (i) a plurality of electron integrals, (ii) a core Hamiltonian matrix, and (iii) a collocation matrix, from the plurality of atomic coordinates of each of the plurality of atoms present in the chemical compound, wherein the collocation matrix is a rectangular matrix of dimension ๐‘๐‘” 25 and ๐‘๐‘Ž๐‘œ, and wherein ๐‘๐‘” represents a number of real space grid points, ๐‘๐‘Ž๐‘œ is a number of basis functions; determining, via the plurality of unentangled QPUs, an initial density matrix of the chemical compound from the core Hamiltonian matrix, wherein the initial density matrix is constructed using (i) a single particles unitary rotation matrix which is obtained by diagonalizing the core Hamiltonian matrix, 30 and (ii) electron occupancies; iteratively updating, the initial density matrix until a
5
convergence criteria is satisfied to obtain a final density matrix of the chemical
compound, wherein iteratively updating the initial density matrix at each iteration comprises: (a) computing a direct (๐ฝ) matrix from the initial density matrix; (b) determining a correlation exchange matrix based on the initial density matrix, the collocation matrix, a Gradient of collocation matrix, and a Hessian of the 5 collocation matrix for meta Generalized Gradient Approximation (meta GGA) by: (i) encoding the collocation matrix on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) a plurality of ancilla qubits in a second quantum circuit, to obtain a first quantum circuit block, wherein the first set of qubits is associated with the number of points on the numerical grid, the second set 10 of qubits is associated with the number of atomic orbitals, and the plurality of ancilla qubits are used to store numerical entries of the collocation matrix and the initial density matrix; (ii) encoding a gradient of the collocation matrix on the quantum circuit to obtain a gradient to obtain a first gradient quantum circuit block; (iii) encoding a hessian of the collocation matrix on the quantum circuit to obtain a 15 first hessian quantum circuit block; (iv)composing the first quantum circuit block with a second quantum circuit block that encodes an intermediate density matrix on (a) control qubits composed of the second set of qubits and (b) an ancilla qubit in the quantum circuit, to construct a third quantum circuit block; (v) encoding an electronic density on the quantum circuit by performing a sequential matrix 20 multiplication of the collocation matrix, the density matrix, and the collocation matrix to obtain a fourth quantum circuit block; (vi) composing the third quantum circuit block with the first gradient quantum circuit block that encoded the gradient of the collocation matrix, to construct a second gradient quantum circuit block that encodes a gradient of the electronic density of the chemical compound; (vii) 25 composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the first quantum circuit block and the second quantum circuit block that encodes the initial density matrix sequentially, to construct a second hessian quantum circuit block that encodes a first component of hessian of the electronic density; (viii) composing the first hessian quantum circuit block that 30 encodes the hessian of the collocation matrix with the second quantum circuit block
6
that encodes the initial density matrix and the first quantum circuit block that
encoded the collocation matrix sequentially, to construct a third hessian quantum circuit block that encodes a second component of hessian of the electronic density; (ix) composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial 5 density matrix and the first gradient quantum circuit block encodes the gradient of the collocation matrix, to construct a fourth hessian quantum circuit block that encodes a third component of hessian of the electronic density of the chemical compound; (x) computing the hessian of the electronic density of the chemical compound by adding the first, second and third component of hessian of the 10 electronic density of the chemical compound using the plurality of ancilla qubits; (xi) encoding the Hessian of the electronic density of the chemical compound on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) the plurality of ancilla qubits, to obtain a fifth hessian quantum circuit block; (xii) putting the fourth quantum circuit block with a fifth quantum circuit block for 15 a phase angle shifted reflector, the second gradient quantum circuit block that encodes the gradient of the electronic density, and the fifth hessian quantum circuit block that encodes the hessian of the electronic density into a quantum signal processing sequence, to create a sixth quantum circuit block that encodes a Chebyshev polynomial approximation of a nonlinear function of the electronic 20 density, wherein the nonlinear function is a derivative of the electronic energy density with respect to the electronic density; (xiii) composing the sixth quantum circuit block with the first quantum circuit block, to create a seventh quantum circuit block that encodes a ๐‘ matrix; and (xiv) composing the seventh quantum circuit block with the first quantum circuit block, to create an eight quantum circuit 25 block that encodes the correlation exchange matrix; (c) determining a Fock (๐น) matrix by adding the ๐ฝ matrix and the correlation exchange matrix; (d) performing a qubitized diagonalization of the ๐น matrix to obtain an intermediate density matrix; and (e) repeating the steps of computing the direct (๐ฝ) matrix till performing the qubitized diagonalization of the ๐น matrix until the convergence criteria is satisfied 30 to obtain the final density matrix of the chemical compound, wherein the
7
intermediate density matrix is considered as the initial density matrix
until the convergence criteria is satisfied; and utilizing, via the one or more classical hardware processors, the final density matrix of the chemical compound to extract the one or more properties of the chemical compound.
[006]
In another aspect, a system for implementation of density functional 5 theory on quantum computing through meta generalized gradient approximation is provided. The system comprises one or more classical hardware processors (108) and a plurality of unentangled quantum processors (122), wherein the one or more classical hardware processors (108) are communicably coupled to the plurality of unentangled quantum processors (122) by respective interfaces, wherein the one or 10 more classical hardware processors are communicably coupled to at least one memory (110) storing programmed instructions; one or more Input /Output (I/O) interfaces (116); and the plurality of unentangled quantum processors (122) are operatively coupled to the at least one quantum memory (124), wherein the one or more classical hardware processors (108) and the plurality of unentangled quantum 15 processors (122) are configured by the programmed instructions to receive a chemical compound whose one or more properties to be extracted, wherein the chemical compound is at least one of (i) a molecule, and (ii) a solid; obtain a plurality of atomic coordinates of each of a plurality of atoms present in the chemical compound; determine (i) a plurality of electron integrals, (ii) a core 20 Hamiltonian matrix, and (iii) a collocation matrix, from the plurality of atomic coordinates of each of the plurality of atoms present in the chemical compound, wherein the collocation matrix is a rectangular matrix of dimension ๐‘๐‘” and ๐‘๐‘Ž๐‘œ, and wherein ๐‘๐‘” represents a number of real space grid points, ๐‘๐‘Ž๐‘œ is a number of basis functions; determine an initial density matrix of the chemical compound from 25 the core Hamiltonian matrix, wherein the initial density matrix is constructed using (i) a single particles unitary rotation matrix which is obtained by diagonalizing the core Hamiltonian matrix, and (ii) electron occupancies; iteratively updating, the initial density matrix until a convergence criteria is satisfied to obtain a final density matrix of the chemical compound, wherein iteratively updating the initial density 30 matrix at each iteration comprises: (a) computing a direct (๐ฝ) matrix from the initial
8
density matrix; (b) determin
ing a correlation exchange matrix based on the initial density matrix, the collocation matrix, a Gradient of collocation matrix, and a Hessian of the collocation matrix for meta Generalized Gradient Approximation (meta GGA) by: (i) encoding the collocation matrix on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) a plurality of ancilla qubits 5 in a second quantum circuit, to obtain a first quantum circuit block, wherein the first set of qubits is associated with the number of points on the numerical grid, the second set of qubits is associated with the number of atomic orbitals, and the plurality of ancilla qubits are used to store numerical entries of the collocation matrix and the initial density matrix; (ii) encoding a gradient of the collocation 10 matrix on the quantum circuit to obtain a gradient to obtain a first gradient quantum circuit block; (iii) encoding a hessian of the collocation matrix on the quantum circuit to obtain a first hessian quantum circuit block; (iv)composing the first quantum circuit block with a second quantum circuit block that encodes an intermediate density matrix on (a) control qubits composed of the second set of 15 qubits and (b) an ancilla qubit in the quantum circuit, to construct a third quantum circuit block; (v) encoding an electronic density on the quantum circuit by performing a sequential matrix multiplication of the collocation matrix, the density matrix, and the collocation matrix to obtain a fourth quantum circuit block; (vi) composing the third quantum circuit block with the first gradient quantum circuit 20 block that encoded the gradient of the collocation matrix, to construct a second gradient quantum circuit block that encodes a gradient of the electronic density of the chemical compound; (vii) composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the first quantum circuit block and the second quantum circuit block that encodes the initial density matrix 25 sequentially, to construct a second hessian quantum circuit block that encodes a first component of hessian of the electronic density; (viii) composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial density matrix and the first quantum circuit block that encoded the collocation matrix sequentially, to 30 construct a third hessian quantum circuit block that encodes a second component
9
of hessian of the electronic density; (ix) composing the first hessian quantum circuit
block that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial density matrix and the first gradient quantum circuit block encodes the gradient of the collocation matrix, to construct a fourth hessian quantum circuit block that encodes a third component of hessian of the 5 electronic density of the chemical compound; (x) computing the hessian of the electronic density of the chemical compound by adding the first, second and third component of hessian of the electronic density of the chemical compound using the plurality of ancilla qubits; (xi) encoding the Hessian of the electronic density of the chemical compound on (a) control qubits composed of a first set of qubits and a 10 second set of qubits, and (b) the plurality of ancilla qubits, to obtain a fifth hessian quantum circuit block; (xii) putting the fourth quantum circuit block with a fifth quantum circuit block for a phase angle shifted reflector, the second gradient quantum circuit block that encodes the gradient of the electronic density, and the fifth hessian quantum circuit block that encodes the hessian of the electronic density 15 into a quantum signal processing sequence, to create a sixth quantum circuit block that encodes a Chebyshev polynomial approximation of a nonlinear function of the electronic density, wherein the nonlinear function is a derivative of the electronic energy density with respect to the electronic density; (xiii) composing the sixth quantum circuit block with the first quantum circuit block, to create a seventh 20 quantum circuit block that encodes a ๐‘ matrix; and (xiv) composing the seventh quantum circuit block with the first quantum circuit block, to create an eight quantum circuit block that encodes the correlation exchange matrix; (c) determining a Fock (๐น) matrix by adding the ๐ฝ matrix and the correlation exchange matrix; (d) performing a qubitized diagonalization of the ๐น matrix to obtain an intermediate 25 density matrix; and (e) repeating the steps of computing the direct (๐ฝ) matrix till performing the qubitized diagonalization of the ๐น matrix until the convergence criteria is satisfied to obtain the final density matrix of the chemical compound, wherein the intermediate density matrix is considered as the initial density matrix until the convergence criteria is satisfied; and utilize, the final density matrix of the 30
10
chemical compound to extract the one or more properties of the chemical
compound.
[007]
In yet another aspect, a computer program product including a non-transitory computer-readable medium having embodied therein a computer program implementation of density functional theory on quantum computing 5 through meta generalized gradient approximation is provided. The computer readable program, when executed on a system comprising one or more classical hardware processors communicably coupled to a plurality of unentangled Quantum Processor Units (QPUs) via interfaces, causes the computing device to receive a chemical compound whose one or more properties to be extracted, wherein the 10 chemical compound is at least one of (i) a molecule, and (ii) a solid; obtain a plurality of atomic coordinates of each of a plurality of atoms present in the chemical compound; determine (i) a plurality of electron integrals, (ii) a core Hamiltonian matrix, and (iii) a collocation matrix, from the plurality of atomic coordinates of each of the plurality of atoms present in the chemical compound, 15 wherein the collocation matrix is a rectangular matrix of dimension ๐‘๐‘” and ๐‘๐‘Ž๐‘œ, and wherein ๐‘๐‘” represents a number of real space grid points, ๐‘๐‘Ž๐‘œ is a number of basis functions; determine an initial density matrix of the chemical compound from the core Hamiltonian matrix, wherein the initial density matrix is constructed using (i) a single particles unitary rotation matrix which is obtained by diagonalizing the 20 core Hamiltonian matrix, and (ii) electron occupancies; iteratively updating, the initial density matrix until a convergence criteria is satisfied to obtain a final density matrix of the chemical compound, wherein iteratively updating the initial density matrix at each iteration comprises: (a) computing a direct (๐ฝ) matrix from the initial density matrix; (b) determining a correlation exchange matrix based on the initial 25 density matrix, the collocation matrix, a Gradient of collocation matrix, and a Hessian of the collocation matrix for meta Generalized Gradient Approximation (meta GGA) by: (i) encoding the collocation matrix on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) a plurality of ancilla qubits in a second quantum circuit, to obtain a first quantum circuit block, wherein the 30 first set of qubits is associated with the number of points on the numerical grid, the
11
second set of qubits is associated with the number of atomic orbitals, and the
plurality of ancilla qubits are used to store numerical entries of the collocation matrix and the initial density matrix; (ii) encoding a gradient of the collocation matrix on the quantum circuit to obtain a gradient to obtain a first gradient quantum circuit block; (iii) encoding a hessian of the collocation matrix on the quantum 5 circuit to obtain a first hessian quantum circuit block; (iv)composing the first quantum circuit block with a second quantum circuit block that encodes an intermediate density matrix on (a) control qubits composed of the second set of qubits and (b) an ancilla qubit in the quantum circuit, to construct a third quantum circuit block; (v) encoding an electronic density on the quantum circuit by 10 performing a sequential matrix multiplication of the collocation matrix, the density matrix, and the collocation matrix to obtain a fourth quantum circuit block; (vi) composing the third quantum circuit block with the first gradient quantum circuit block that encoded the gradient of the collocation matrix, to construct a second gradient quantum circuit block that encodes a gradient of the electronic density of 15 the chemical compound; (vii) composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the first quantum circuit block and the second quantum circuit block that encodes the initial density matrix sequentially, to construct a second hessian quantum circuit block that encodes a first component of hessian of the electronic density; (viii) composing the first 20 hessian quantum circuit block that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial density matrix and the first quantum circuit block that encoded the collocation matrix sequentially, to construct a third hessian quantum circuit block that encodes a second component of hessian of the electronic density; (ix) composing the first hessian quantum circuit 25 block that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial density matrix and the first gradient quantum circuit block encodes the gradient of the collocation matrix, to construct a fourth hessian quantum circuit block that encodes a third component of hessian of the electronic density of the chemical compound; (x) computing the hessian of the 30 electronic density of the chemical compound by adding the first, second and third
12
component of hessian of the electronic density of the chemical compound using the
plurality of ancilla qubits; (xi) encoding the Hessian of the electronic density of the chemical compound on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) the plurality of ancilla qubits, to obtain a fifth hessian quantum circuit block; (xii) putting the fourth quantum circuit block with a fifth 5 quantum circuit block for a phase angle shifted reflector, the second gradient quantum circuit block that encodes the gradient of the electronic density, and the fifth hessian quantum circuit block that encodes the hessian of the electronic density into a quantum signal processing sequence, to create a sixth quantum circuit block that encodes a Chebyshev polynomial approximation of a nonlinear function of the 10 electronic density, wherein the nonlinear function is a derivative of the electronic energy density with respect to the electronic density; (xiii) composing the sixth quantum circuit block with the first quantum circuit block, to create a seventh quantum circuit block that encodes a ๐‘ matrix; and (xiv) composing the seventh quantum circuit block with the first quantum circuit block, to create an eight 15 quantum circuit block that encodes the correlation exchange matrix; (c) determining a Fock (๐น) matrix by adding the ๐ฝ matrix and the correlation exchange matrix; (d) performing a qubitized diagonalization of the ๐น matrix to obtain an intermediate density matrix; and (e) repeating the steps of computing the direct (๐ฝ) matrix till performing the qubitized diagonalization of the ๐น matrix until the convergence 20 criteria is satisfied to obtain the final density matrix of the chemical compound, wherein the intermediate density matrix is considered as the initial density matrix until the convergence criteria is satisfied; and utilize, the final density matrix of the chemical compound to extract the one or more properties of the chemical compound. 25
[008]
In an embodiment of the present disclosure, the convergence criteria is satisfied when a norm of a difference between the intermediate density matrix at a current iteration and the initial density matrix at a previous iteration is lesser than a predefined threshold.
[009]
In an embodiment of the present disclosure, the (i) control qubits 30 composed of the first set of qubits and the second set of qubits, and (ii) the plurality
13
of ancilla qubits, to obtain the first quantum circuit block, is mathematically
represented as: ๐‘™๐‘œ๐‘” ๐‘๐‘”+ ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ+2 ๐‘ž๐‘ข๐‘๐‘–๐‘ก๐‘ , where ๐‘™๐‘œ๐‘” ๐‘๐‘” represents the first set of qubits, ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ represents the second set of qubits, and 2 qubits represent the plurality of ancilla qubits.
[010]
In an embodiment of the present disclosure, the hessian of the 5 collocation matrix is obtained by encoding the collocation matrix for a set of real space grid points (+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0,0),(0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0),(0,0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž),(+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž),(+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0),(0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž) on (a) control qubits composed of the first set of qubits and the second set of qubits, and (b) the plurality of ancilla qubits to obtain the first hessian quantum circuit block. 10
[011]
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
BRIEF DESCRIPTION OF THE DRAWINGS 15
[012]
The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate exemplary embodiments and, together with the description, serve to explain the disclosed principles:
[013]
FIG. 1 is a functional block diagram of a system for implementation of density functional theory on quantum computing through meta generalized 20 gradient approximation, in accordance with some embodiments of the present disclosure.
[014]
FIGS. 2A through 2E, collectively referred as FIG. 2 is an exemplary flow diagram illustrating for implementation of density functional theory on quantum computing through meta generalized gradient approximation, 25 implemented by the system of FIG. 1, in accordance with some embodiments of the present disclosure.
[015]
FIG. 3 illustrates an alternative representation of the flow diagram of FIG. 2, in accordance with some embodiments of the present disclosure.
14
[016]
FIG. 4 illustrates a quantum circuit used to compute a direct matrix in the method illustrated in FIG. 2, in accordance with some embodiments of the present disclosure.
[017]
FIG. 5 illustrates a first quantum circuit block that encodes a collocation matrix in the method illustrated in FIG. 2, in accordance with some 5 embodiments of the present disclosure.
[018]
FIGS. 6A through 6F illustrates quantum circuit blocks that encode different components of the Hessian of the collocation matrix in the method illustrated in FIG. 2, in accordance with some embodiments of the present disclosure. 10
[019]
FIG. 7 illustrates a quantum circuit comprising the second hessian quantum circuit block, the third hessian quantum circuit block, and the fourth hessian quantum circuit block that encode the first, second and third components of the hessian of electronic density respectively in the method illustrated in FIG. 2, in accordance with some embodiments of the present disclosure. 15
[020]
FIG. 8 illustrates a fifth quantum circuit block that encodes Hessian of the electronic density in the method illustrated in FIG. 2, in accordance with some embodiments of the present disclosure.
[021]
FIG. 9 illustrates the eight quantum circuit block that encodes the correlation exchange matrix in the method illustrated in FIG. 2, in accordance with 20 some embodiments of the present disclosure.
DETAILED DESCRIPTION OF EMBODIMENTS
[022] Exemplary embodiments are described with reference to the accompanying drawings. In the figures, the left-most digit(s) of a reference number 25 identifies the figure in which the reference number first appears. Wherever convenient, the same reference numbers are used throughout the drawings to refer to the same or like parts. While examples and features of disclosed principles are described herein, modifications, adaptations, and other implementations are possible without departing from the scope of the disclosed embodiments. 30
15
[023]
As quantum hardware and algorithms continue to develop, various industry sectors, particularly the pharmaceutical and material design domains, are applying quantum computation paradigm to their specific problems. For example, many chemical compounds are synthesized and predicted for practical use. Current software packages calculate the energetics and other physical properties of 5 physical/chemical systems using a quantum mechanical (QM) electronic self-consistent field approach called the Kohn-Sham Density functional theory (KS-DFT). However, the computational time complexity bottleneck of the DFT approach has remained a cubic function of the number of electronic orbitals. This is also known as the cubic scaling wall bottleneck in DFT. Further, conventional 10 methods implement the DFT simulations on classical processors such as CPU, GPU etc. which is time consuming. Some state of the art techniques implement DFT on a combination of classical and quantum processors. However, the complex calculations are still performed on a classical processor which doesnโ€™t overcome the bottlenecks in DFT calculations. 15
[024]
The present disclosure addresses the unresolved problem of computational time complexity bottleneck of the DFT in the conventional methods by providing a system and method for implementation of density functional theory on quantum computing through meta generalized gradient approximation. In the present disclosure, diagonalization problem is mapped to a sequence of quadratic 20 least squares problem and solved as a quantum linear systems problem using implementation of density functional theory on quantum computing through meta generalized gradient approximation. More specifically, the present disclosure provides a quantum circuit for computing meta generalized gradient approximation (meta GGA) density functional computations efficiently on a quantum processor. 25 Initially, atomic coordinates of each atom in a chemical compound whose one or more properties must be extracted is received. Electron integrals, a core Hamiltonian, and a collocation matrix is computed from the atomic coordinates. The core Hamiltonian is diagonalized to obtain a density matrix of the chemical compound which is further updated iteratively until a convergence criteria is 30 satisfied, using the meta GGA. At each iteration, a direct matrix is computed from
16
the density matrix, a correlation exchange matrix is computed from the direct matrix
and the collocation matrix, a Fock matrix is computed by adding the direct matrix and the correlation exchange matrix and the Fock matrix is diagonalized to obtain updated density matrix which is used in subsequent iteration. This is repeated until norm of a difference between the updated density matrix at a current iteration and 5 the density matrix at a previous iteration is lesser than a predefined threshold to obtain a final density matrix of the chemical compound which can be used to extract the one or more properties of the chemical compound.
[025]
Referring now to the drawings, and more particularly to FIGS. 1 through 5. where similar reference characters denote corresponding features 10 consistently throughout the figures, there are shown preferred embodiments and these embodiments are described in the context of the following exemplary system and/or method.
[026]
FIG. 1 is a functional block diagram of a system 100 for implementing density functional theory on quantum processors through local 15 density approximation for simulating chemical compounds, in accordance with some embodiments of the present disclosure. The system 100 includes a classical computing system 102, a quantum computing system 104 and a communication interface 106.
[027]
The classical computing system 102 comprises one or more classical 20 hardware processors 108, at least one memory such as a memory 110, and an I/O interface 116. The one or more classical hardware processors 108, the memory 110, and the Input /Output (I/O) interface 116 may be coupled by a system bus such as a system bus 112 or a similar mechanism. In an embodiment, the one or more classical hardware processors 108 can be one or more hardware processors. The 25 one or more classical hardware processors and the hardware processors are interchangeably used throughout the document. Similarly, the classical computing system 102 is a normal computing system.
[028]
The I/O interface 116 may include a variety of software and hardware interfaces, for example, a web interface, a graphical user interface, and 30 the like., for example, interfaces for peripheral device(s), such as a keyboard, a
17
mouse, an external memory, a printer and the like. Further, the I/O interface 116
may enable the system 100 to communicate with other devices, such as web servers, and external databases. The I/O interface 116 can facilitate multiple communications within a wide variety of networks and protocol types, including wired networks, for example, local area network (LAN), cable, etc., and wireless 5 networks, such as Wireless LAN (WLAN), cellular, or satellite. For the purpose, the I/O interface 116 may include one or more ports for connecting several computing systems with one another or to another server computer.
[029]
The one or more hardware processors 108 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal 10 processors, central processing units, node machines, logic circuitries, and/or any devices that manipulate signals based on operational instructions. Among other capabilities, the one or more hardware processors 108 is configured to fetch and execute computer-readable instructions stored in the memory 110.
[030]
The memory 110 may include any computer-readable medium 15 known in the art including, for example, volatile memory, such as static random access memory (SRAM) and dynamic random access memory (DRAM), and/or non-volatile memory, such as read only memory (ROM), erasable programmable ROM, flash memories, hard disks, optical disks, and magnetic tapes. In an embodiment, the memory 110 includes a data repository 114. The data repository 20 (or repository) 114 may include a plurality of abstracted piece of code for refinement and data that is processed, received, or generated as a result of the execution of the method illustrated in FIGS. 2 and 3. Although the data repository 114 is shown internal to the system 100, it should be noted that, in alternate embodiments, the data repository 114 can also be implemented external to the 25 system 100, where the data repository 114 may be stored within a database (repository 114) communicatively coupled to the system 100. The data contained within such external database may be periodically updated. For example, new data may be added into the database (not shown in FIG. 1) and/or existing data may be modified and/or non-useful data may be deleted from the database. In one example, 30 the data may be stored in an external system, such as a Lightweight Directory
18
Access Protocol (LDAP) directory and a Relational Database Management System
(RDBMS).
[031]
The quantum computing system 104 shown in FIG. 1 includes a control system 118, a signal delivery system 120, a plurality of quantum processors (alternatively referred as Quantum Processing Units (QPUs)) 122, and a quantum 5 memory 124. The plurality of quantum processors 122 are unentangled and hence alternatively referred as the plurality of unentangled quantum processors 122. The quantum computing system 104 may include additional or different features, and the components of a quantum computing system 104 may operate as described with respect to FIG. 1 or in alternative manner. 10
[032]
In an embodiment, the quantum computing system 104 can perform quantum computational tasks (such as, for example, quantum simulations or other quantum computational tasks) by executing quantum algorithms. In some implementations, the quantum computing system 104 can perform quantum computation by storing and manipulating information within individual quantum 15 states of a composite quantum system. For example, Qubits (i.e., Quantum bits) can be stored in and represented by an effective two-level sub-manifold of a quantum coherent physical system in the plurality of unentangled quantum processors 122. In an embodiment, the quantum computing system 104 can operate using gate-based models for quantum computing. For example, the Qubits can be initialized in 20 an initial state, and a quantum logic circuit comprised of a series of quantum logic gates can be applied to transform the qubits and extract measurements representing the output of the quantum computation.
[033]
The plurality of unentangled quantum processors 122 shown in FIG. 1 may be implemented, for example, as a superconducting quantum integrated 25 circuit that includes Qubit devices. The Qubit devices may be used to store and process quantum information, for example, by operating as ancilla Qubits, data Qubits or other types of Qubits in a quantum algorithm. Coupler devices in the superconducting quantum integrated circuit may be used to perform quantum logic operations on single qubits or conditional quantum logic operations on multiple 30 qubits. In some instances, the conditional quantum logic can be performed in a
19
manner that allows large
-scale entanglement within the plurality of unentangled quantum processors 122. Control signals may be delivered to the superconducting quantum integrated circuit, for example, to manipulate the quantum states of individual Qubits and the joint states of multiple Qubits. In some instances, information can be read from the superconducting quantum integrated circuit by 5 measuring the quantum states of the qubit devices. The plurality of unentangled quantum processors 122 may be implemented using another type of physical system.
[034]
The plurality of unentangled quantum processors 122, and in some cases all or part of the signal delivery system 120, can be maintained in a controlled 10 cryogenic environment. The environment can be provided, for example, by shielding equipment, cryogenic equipment, and other types of environmental control systems. In some examples, the components in the plurality of unentangled quantum processors 122 operate in a cryogenic temperature regime and are subject to very low electromagnetic and thermal noise. For example, magnetic shielding 15 can be used to shield the system components from stray magnetic fields, optical shielding can be used to shield the system components from optical noise, thermal shielding and cryogenic equipment can be used to maintain the system components at controlled temperature, etc.
[035]
In an embodiment, the signal delivery system 120 provides 20 communication between the control system 118 and the plurality of unentangled quantum processors 122. For example, the signal delivery system 120 can receive control signals from the control system 118 and deliver the control signals to the plurality of unentangled quantum processors 122. In some instances, the signal delivery system 120 performs preprocessing, signal conditioning, or other 25 operations to the control signals before delivering them to the plurality of unentangled quantum processors 122. In an embodiment, the signal delivery system 120 includes connectors or other hardware elements that transfer signals between the plurality of unentangled quantum processors 122 and the control system 118. For example, the connection hardware can include signal lines, signal processing 30 hardware, filters, feedthrough devices (e.g., light-tight feedthroughs, etc.), and
20
other types of components. In some implementations, the connection hardware can
span multiple different temperature and noise regimes. For example, the connection hardware can include a series of temperature stages that decrease between a higher temperature regime (e.g., at the control system 118) and a lower temperature regime (e.g., at the plurality of unentangled quantum processors 122). 5
[036]
In an embodiment, the control system 118 controls operation of the plurality of unentangled quantum processors 122. For example, the control system 118 may include data processors, signal generators, interface components and other types of systems or subsystems. Components of the example control system 118 may operate in a room temperature regime, an intermediate temperature 10 regime, or both. For example, the control system 118 can be configured to operate at much higher temperatures and be subject to much higher levels of noise than are present in the environment of the plurality of unentangled quantum processors 122.
[037]
In some embodiments, the control system 118 includes a classical computing system that executes software to compile instructions for the plurality 15 of unentangled quantum processors 122. For example, the control system 118 may decompose a quantum logic circuit or quantum computing program into discrete control operations or sets of control operations that can be executed by the hardware in the plurality of unentangled quantum processors 122. In some examples, the control system 118 applies a quantum logic circuit by generating signals that cause 20 the Qubit devices and other devices in the plurality of unentangled quantum processors 122 to execute operations. For instance, the operations may correspond to single-Qubit gates, two-Qubit gates, Qubit measurements, etc. The control system 118 can generate control signals that are communicated to the plurality of unentangled quantum processors 122 by the signal delivery system 120, and the 25 devices in the plurality of unentangled quantum processors 122 can execute the operations in response to the control signals.
[038]
In some other embodiments, the control system 118 includes one or more classical computers or classical computing components that produce a control sequence, for instance, based on a quantum computer program to be executed. For 30 example, a classical processor may convert a quantum computer program to an
21
instruction set for the native gate set or architecture of the plurality of unentangled
quantum processors 122. In some cases, the control system 118 includes a microwave signal source (e.g., an arbitrary waveform generator), a bias signal source (e.g., a direct current source) and other components that generate control signals to be delivered to the plurality of unentangled quantum processors 122. The 5 control signals may be generated based on a control sequence provided, for instance, by a classical processor in the control system 118. The example control system 118 may include conversion hardware that digitizes response signals received from the plurality of unentangled quantum processors 122. The digitized response signals may be provided, for example, to a classical processor in the 10 control system 118.
[039]
In some embodiments, the quantum computer system 104 includes multiple quantum information processors that operate as respective unentangled quantum processors 122. In some cases, each quantum processor can operate independently. For instance, the quantum computer system 104 may be configured 15 to operate according to a distributed quantum computation model, or the quantum computer system 104 may utilize multiple quantum processors in another manner. In some implementations, the quantum computer system 104 includes multiple control systems, and each quantum processor may be controlled by a dedicated control system. In some implementations, a single control system can control 20 multiple quantum processors. For instance, the control system 118 may include multiple domains that each control a respective quantum processor. In some instances, the quantum computing system 104 uses multiple quantum processors to execute multiple unentangled quantum computations (e.g., multiple Variational Quantum Eigen solver (VQE)) that collectively simulate a single quantum 25 mechanical system.
[040] In an embodiment, the quantum memory 124 is a quantum-mechanical version of classical computer memory 110. The classical computer memory 100 stores information such as binary states and the quantum memory 124 stores a quantum state for later retrieval. These states hold useful computational 30 information known as Qubits. In an embodiment, the communication interface 106
22
which connects the classical computing system 102 and the quantum computing
system 104 is a high speed digital interface.
[041]
FIGS. 2A through 2E, collectively referred as FIG. 2 is an exemplary flow diagram illustrating a method 200 for implementation of density functional theory on quantum computing through meta generalized gradient approximation, 5 implemented by the system of FIG. 1, in accordance with some embodiments of the present disclosure. In an embodiment, the system 100 is configured to store instructions for execution of steps of the method 200 by the one or more hardware processors 108 and the plurality of unentangled quantum processors 122. FIG. 3 illustrates an alternative representation of the flow diagram of FIG. 2, in accordance 10 with some embodiments of the present disclosure.
[042]
The steps of the method 200 of the present disclosure will now be explained with reference to the components or blocks of the system 100 as depicted in FIG. 1 and the steps of flow diagram as depicted in FIGS. 2 and 3. The method 200 may be described in the general context of computer executable instructions. 15 Generally, computer executable instructions can include routines, programs, objects, components, data structures, procedures, modules, functions, etc., that perform particular functions or implement particular abstract data types. The method 200 may also be practiced in a distributed computing environment where functions are performed by remote processing devices that are linked through a 20 communication network. The order in which the method 200 is described is not intended to be construed as a limitation, and any number of the described method blocks can be combined in any order to implement the method 200, or an alternative method. Furthermore, the method 200 can be implemented in any suitable hardware, software, firmware, or combination thereof. 25
[043]
Now referring to FIG. 2, at step 202 of the method 200, one or more classical hardware processors are configured to receive a chemical compound whose one or more properties are to be extracted. The chemical compound is at least one of (i) a molecule, and (ii) a solid (202). In the context of the present disclosure, the expression โ€˜solidโ€™ refers to a periodic arrangements of atoms such 30 as a crystalline form of a molecule. For example, in pharma industry, the chemical
23
compound maybe
a drug lead and its conformations whose physical properties must be analyzed to determine feasibility of synthesizing the drug from the drug lead. The one or more properties of drug lead includes one or more physical and one or more chemical properties such as highest occupied molecular orbital and lowest unoccupied molecular (HOMO-LUMO) gap in solvent medium, acid-base 5 dissociation constant (๐‘๐พ๐‘Ž) of a drug, dipole moment, partial charges, and/or the like.
[044]
Further, at step 204 of the method 200, the one or more classical hardware processors are configured to obtain a plurality of atomic coordinates of each of a plurality of atoms present in the chemical compound. For example, for 10 drug paracetamol, a list of the plurality of atomic coordinates (๐‘‹,๐‘Œ,๐‘) with a corresponding atomic symbol is obtained as: (2.8660 -2.5950 0.0000 ๐‘‚), ( 4.5981 1.4050 0.0000 ๐‘‚), (2.8660 1.4050 0.0000 ๐‘), (2.8660 0.4050 0.0000 ๐ถ), (1.4631 0.2150 0.0000 ๐ป), and/or the like.
[045]
Further, at step 206 of the method 200, the one or more classical 15 hardware processors are configured to determine (i) a plurality of electron integrals, (ii) a core Hamiltonian matrix, and (iii) a collocation matrix, from the plurality of atomic coordinates of each of the plurality of atoms present in the chemical compound. The collocation matrix is a rectangular matrix of dimension ๐‘๐‘” and ๐‘๐‘Ž๐‘œ, where ๐‘๐‘” represents a number of real space grid points, ๐‘๐‘Ž๐‘œ is a number of basis 20 functions. The collocation matrix comprises a plurality of basis functions of a plurality of atomic orbitals and a plurality of points on numerical grid. Each of the plurality of basis functions is a Gaussian wave function centered around the plurality of atomic coordinates. Thus, the plurality of basis functions are represented as Gaussians functions as a function of the plurality atomic coordinates 25 of the plurality of atoms and an angular and spin momentum. The collocation matrix is mathematically represented using equation (1) below:
ฮฆ=( ฯ•1(๐‘ฅ1,๐‘ฆ1,๐‘ง1),โ€ฆโ€ฆโ€ฆฯ•1(๐‘ฅ๐‘๐‘”,๐‘ฆ๐‘๐‘”,๐‘ง๐‘๐‘”)โ‹ฎโ‹ฎฯ•๐‘๐‘Ž๐‘œ(๐‘ฅ1,๐‘ฆ1,๐‘ง1),โ€ฆโ€ฆโ€ฆฯ•๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”,๐‘ฆ๐‘๐‘”,๐‘ง๐‘๐‘”)) (1)
24
The plurality of basis functions are used to compute the plurality of electron integrals. The plurality of electron integrals include one-electron integrals and two-electron integrals which are further bifurcated as three centered and two centered electron integrals. Thus, the plurality of electron integrals include (a) 3 center 2 electron integrals, b) 2 center 2 electron integrals and c) 2 center 1 electron 5 integrals. The 3 center 2 electron integrals and 2 center 2 electron integrals describe a Coulomb repulsion integral that are computed in atomic orbital basis and can be represented in either spherical or cartesian coordinates. The 2 center 1 electron integrals describes an overlap between the basis states. The plurality of electron integrals are determined using tools such as LIBCINT, Python-based Simulations 10 of Chemistry Framework (PySCF), NorthWest computational Chemistry (NWchem), and/or the like. The core Hamiltonian matrix which is a ๐‘๐‘ร— ๐‘๐‘ matrix is determined using the Kohn-Sham (KS) hybrid Density Functional Theory (DFT) process which is initiated from a set of ๐‘๐‘ basis functions ๐”น = {๐œ™๐œ‡(๐‘Ÿ)}๐œ‡=1๐‘๐‘ to compute the core Hamiltonian matrix โ„Ž. โ„Ž constitutes free 15 particle energy of electrons and one-body nuclear potential arising from electron-nucleus interactions, both these terms are independent of electronic density. Therefore โ„Ž needs to be computed while initiating a self-consistent field (SCF) procedure.
[046]
Further, at step 208 of the method 200, the one or more classical 20 hardware processors and the plurality of unentangled QPUs are configured to determine an initial density matrix of the chemical compound from the core Hamiltonian matrix. The initial density matrix is constructed using (i) a single particles unitary rotation matrix which is obtained by diagonalizing the core Hamiltonian matrix, and (ii) electron occupancies (e.g., refer Indian patent 25 application IN 20232106141 titled โ€˜Method And System For Reducing Time Complexity Of Density Functional Theory Calculations With Qubitized Diagonalizationโ€™).
[047]
Once the density matrix is determined, at step 210 of the method 200, the one or more classical hardware processors and the plurality of unentangled 30 QPUs are configured to iteratively update the initial density matrix until a
25
convergence criteria is satisfied to obtain a final density matrix of the chemical
compound. The convergence criteria is satisfied when a norm of a difference between an intermediate density matrix at a current iteration and the initial density matrix at a previous iteration is lesser than a predefined threshold. For iteratively updating the initial density matrix at each iteration, steps 210a to 210e are 5 performed at each iteration to update the initial density matrix. In an embodiment, the step 210a is better understood by way of following description as exemplary explanation.
[048]
In the Kohn-Sham (KS) hybrid Density Functional Theory (DFT) process, the direct (๐ฝ) matrix and an exact-exchange (๐พ) matrix are electronic 10 density dependent terms which are computed from an Electronic Repulsion Integral (ERI) tensor. Further, in the Kohn-Sham (KS) hybrid Density Functional Theory (DFT) process, a correlation exchange potential or a correlation exchange matrix (๐‘‰๐‘ฅ๐‘) is computed from an electronic density, its gradient and/or a Kinetic energy density. Together ๐ฝ, ๐พ and ๐‘‰๐‘ฅ๐‘ make a hybrid Kohn-Sham Fock Matrix functional 15 ๐น as given by equation (2)
F[D]=h+J[D]โˆ’๐‘K[D]+V๐‘ฅ๐‘[D] (2)
In equation (2), ๐ท is a one-particle density matrix discretized in a basis of {๐œ™๐œ‡} and ๐‘ โˆˆ โ„+ is a modulation for the exact-exchange term. The terms ๐ฝ, ๐พ can be computed from an atomic orbital (AO)-integral approach using the ERI tensor 20 represented as โŸจij|klโŸฉ and ๐ท as shown below in equations (3) and (4), respectively.
Jij=ฮฃโŸจij|klโŸฉDkl๐‘˜๐‘™ (3) Kij=ฮฃโŸจik|jlโŸฉDkl๐‘˜๐‘™ (4)
In equations (3) and (4), the ERI tensor โŸจij|klโŸฉ is obtained by integrating space of basis functions in โ„3 according to equation (5) shown below: 25
โŸจij|klโŸฉ=โˆซ๐‘‘3r๐‘‘3rโ€ฒ๐œ™๐‘–(r)๐œ™๐‘—(r)1|rโˆ’rโ€ฒ|๐œ™๐‘˜(rโ€ฒ)๐œ™๐‘™(rโ€ฒ). (5)
[049]
The correlation-exchange potential ๐‘‰๐‘ฅ๐‘ in the discretized basis {๐œ™๐‘–} is computed from equation (6) shown below, where the basis functions are defined according to equation (7).
26
๐‘‰๐‘–๐‘—๐‘ฅ๐‘=โˆซ๐‘‘3r๐œ™๐‘–(r)ฮดE๐‘ฅ๐‘[๐œŒ(r)]ฮด๐œŒ(r)๐œ™๐‘—(r)๐‘…3. (6)
๐œ™๐‘Ž(r)=(๐‘ฅโˆ’๐ด๐‘ฅ)๐‘Ž๐‘ฅ(๐’ดโˆ’๐ด๐’ด)๐‘Ž๐’ด(๐‘งโˆ’๐ด๐‘ง)๐‘Ž๐‘งexp(โˆ’๐œ—(๐‘ฅโˆ’๐ด๐‘ฅ)2)exp(โˆ’๐œ—(๐’ดโˆ’ ๐ด๐’ด)2)exp(โˆ’๐œ—(๐‘งโˆ’๐ด๐‘ง)2) (7)
In equation 6, ๐ด๐‘ฅ, ๐ด๐’ด, ๐ด๐‘ง are nuclear coordinate locations of the Gaussian functions, 5 ๐‘Ž = (๐‘Ž๐‘ฅ,๐‘Ž๐‘ฆ,๐‘Ž๐‘ง) are the integer cartesian quanta and ๐œ— is the cartesian Gaussian exponent. In equation (6), E๐‘ฅ๐‘ is an exchange energy functional evaluated for the electronic density ๐‘Ÿ and its form depends on a DFT method implemented using a plurality of classes of Density Functional Theory (DFT) protocols. The plurality of classes of DFT protocols comprise local density approximation (LDA), generalized 10 gradient approximation (GGA), meta GGA, hybrid DFT and double hybrid DFT. In the context of the present disclosure, the DFT protocol used is meta Generalized Gradient Approximation (meta GGA). The ERI tensor is further represented using a Cholesky decomposition representation as given by equation (8) below.
โŸจij|klโŸฉ=ฮฃ๐ฟ๐‘–๐‘—๐‘ƒ๐‘ƒ๐ฟ๐‘˜๐‘™๐‘ƒ (8) 15
๐ฟ๐‘ƒ represents Cholesky matrices that can be obtained from a Density-Fitting (DF) or a resolution of identity (RI) method as in equation (9).
๐ฟ๐‘–๐‘—๐‘ƒ=1โˆš๐“Œ๐‘ƒฮฃ๐‘ข๐‘„๐‘ƒโŸจij|๐‘„โŸฉ.๐‘„ (9)
In equation (9), โŸจij|๐‘„โŸฉ are 3-center 2-electron integrals represented in terms of the auxiliary basis functions {๐œ’๐‘ƒ(๐‘Ÿ)}๐‘ƒ=1๐‘๐‘Ž๐‘ข๐‘ฅ, and ๐‘ข๐‘„๐‘ƒ, ๐“Œ๐‘ƒ are obtained from the spectral 20 decomposition of 2-center 2-electron integrals ๐‘‰๐‘ƒ๐‘„=ฮฃ๐‘ข๐‘ƒ๐‘…๐“Œ๐‘…๐‘ข๐‘„๐‘…โˆ—๐‘… represented in the auxiliary basis functions. The 3-center 2-electron integrals are given by equation (10) and the two center ๐‘‰๐‘ƒ๐‘„= โŸจP|๐‘„โŸฉ represents two center two electron integrals which are given by equation (11).
โŸจij|PโŸฉ=โˆซ๐‘‘3r๐‘‘3rโ€ฒ๐œ™๐‘–(r)๐œ™๐‘—(r)๐›ฌ๐‘ƒ(rโ€ฒ)|rโˆ’rโ€ฒ| (10) 25
โŸจP|QโŸฉ=โˆซ๐‘‘3r๐›ฌ๐‘ƒ(r)๐›ฌ๐‘„(r)|rโˆ’rโ€ฒ| (11)
The ๐ฝ and ๐พ matrix elements are computed using the RI approach as in equation (12).
27
๐ฝ๐‘–๐‘—=ฮฃ๐ฟ๐‘–๐‘—๐‘ƒ๐‘ƒฮฃ๐ฟ๐‘˜๐‘™๐‘ƒ๐‘˜๐‘™๐ท๐‘˜๐‘™,๐พ๐‘–๐‘—=ฮฃ๐ฟ๐‘–๐‘™๐‘ƒ๐‘ƒ๐‘™ฮฃ๐ฟ๐‘—๐‘˜๐‘ƒ๐‘˜๐ท๐‘˜๐‘™ (12)
When the KS-DFT is classically computed, the complexity of computing ๐ฝ and ๐พ is ๐‘‚(๐‘๐‘2) and this complexity resides in computing ๐พ. Computing โ„Ž and ๐‘‰๐‘ฅ๐‘ has lower complexity of ๐‘‚(๐‘2).
[050]
For executing any of the plurality of classes of Density Functional 5 Theory (DFT) protocols, next step is to solve generalized eigenvalue problem for the Fock matrix accounting for an overlap between basis functions ๐‘†๐‘–๐‘—= โŸจ๐œ™๐‘–|๐œ™๐‘—โŸฉ and an intermediate density matrix ๐ท(๐‘™) of a current iteration as given by equation (13).
๐น[๐ท(๐‘™)]๐ถ(๐‘™+1)=๐‘†๐ถ(๐‘™+1)๐ธฬ‚(๐‘™+1) (13) 10
In equation (13), the one particle density matrix or intermediate density matrix ๐ท(๐‘™)=๐ถ(๐‘™)๐‘Š๐ถ(๐‘™)โ€ , where an occupancy matrix ๐‘Š๐‘–๐‘—= ๐œƒ(๐œ‡ โˆ’ ๐ธ๐‘–)๐›ฟ๐‘–๐‘— fills up ๐‘๐‘’/2 lowest energy levels below a chemical potential ๐œ‡.
[051]
In the present disclosure, at step 210a, a direct matrix (alternatively referred to as ๐ฝ matrix or Coulomb matrix) is computed from the initial density 15 matrix using a quantum circuit as illustrated in FIG. 4. The quantum circuit comprises a first set of qubits, a second set of qubits and a plurality of ancilla qubits. The first set of qubits is associated with number of auxiliary basis functions in density fitting approximation of the plurality electron integrals (more particularly the 2 centered 2 electron integral), and the second set of qubits is associated with 20 number of basis functions. In FIG. 4, โ€˜๐‘โ€™ represents the first set of qubits, โ€˜๐‘Ÿ1, ๐‘Ÿ2โ€™ represent the second set of qubits and โ€˜๐‘Ž1, ๐‘Ž2โ€™ represent the plurality of ancilla qubits. In an embodiment, the quantum circuit is mathematically represented as: ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘ข๐‘ฅ+2๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ+2 qubits. Initially, the initial density matrix is encoded (alternatively referred as loaded or block encoded) on the second set of qubits in 25 the quantum circuit to form a first quantum circuit component (represented by block 402 in FIG. 4). As shown in block 402, the control is loaded on ๐‘Ÿ2 and data elements of the initial density matrix are loaded on ancilla qubit ๐‘Ž2. The density matrix is loaded using its Eigen decomposition representation that involves: i) NaoC2 Givens rotations on ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ qubits, ii) Then block encoding a diagonal matrix of 1โ€™s in 30
28
initial
๐‘๐‘’/2 diagonal blocks and zeros in the rest using 2๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ qubits, iii) Another set of NaoC2 Givens rotation with conjugate angles on ๐‘๐‘’/2 diagonals. This is mathematically represented by equation (14).
๐‘‚(๐ท)=๐ผ2โŠ—๐‘šโŠ—[(๐ถโŠ—๐ผ2โŠ—๐‘›โŠ—๐ผ2๐‘Ž1)(ฮฃ|๐‘˜,๐‘˜โŸฉโŸจ๐‘˜,๐‘˜|โŠ—(๐œƒ(๐œ‡๐‘˜โˆ’๐ธ๐‘˜)๐ผ๐‘Ž1+(1โˆ’๐œƒ(๐œ‡โˆ’๐ธ๐‘˜))๐‘Œ๐‘Ž1)(๐ถโ€ โŠ—๐ผ2โŠ—๐‘›โŠ—๐ผ2๐‘Ž1)]โŠ—๐ผ๐‘Ž2 โ€ฆ.. (14) 5
The readouts from the encoding of the initial density matrix are obtained by equation (15).
โŸจ๐‘ƒ,๐‘–,0,0,0|๐‘‚(๐ท)|๐‘ƒ,๐‘—,0,0,0โŸฉ=ฮฃ๐ถ๐‘–๐‘˜๐‘๐‘’/2๐‘˜=1๐ถ๐‘˜๐‘—โˆ—=๐ท๐‘–๐‘—, where ๐‘๐‘’=2ฮฃฮธ(ฮผโˆ’๐‘๐‘˜=1๐ธ๐‘˜) โ€ฆ. (15)
[052]
Once the initial density matrix is encoded, a Cholesky tensor is 10 encoded on the first quantum circuit to form a first Cholesky circuit component (represented by block 404 in FIG. 4). The Cholesky tensor is obtained from one or more electron integrals among the plurality of electron integrals, particularly, 3-center 2-electron and 2-center 2-electron integrals. As shown in the block 404, the controls are encoded on the ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘ข๐‘ฅ + 2๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ qubits and the data is loaded on 15 the ancilla qubits. This is mathematically represented by equation 15.
๐‘‰๐ฟ=ฮฃ[|๐‘,๐‘Ÿ1,๐‘Ÿ2,0โŸฉโŸจ๐‘,๐‘Ÿ1,๐‘Ÿ2,0|โŠ—๐ผ2+|๐‘,๐‘Ÿ1,๐‘Ÿ2,1โŸฉโŸจ๐‘,๐‘Ÿ,1|โŠ—๐‘๐‘Ž๐‘ข๐‘ฅโˆ’1,๐‘๐‘Ž๐‘œโˆ’1๐‘=0,๐‘Ÿ1=0,๐‘Ÿ2=0 (๐ฟ๐‘Ÿ1,๐‘Ÿ2๐‘โ€ฒ๐ผ+๐‘–โˆš1โˆ’(๐ฟ๐‘Ÿ1,๐‘Ÿ2๐‘โ€ฒ)2๐‘Œ)] โ€ฆ.. (15)
[053]
Further, the first quantum circuit component is composed with the first Cholesky circuit component and a diffusion operator to create a second 20 quantum circuit component that processes the density matrix to generate an intermediate state vector as illustrated by block 406. The diffusion operator ๐‘… is given by equation 16.
๐‘…=ฮฃ[2|๐‘˜,+,0โŸฉโŸจ๐‘™,+,0|๐‘๐‘Ž๐‘ข๐‘ฅโŠ—๐ผ2โŠ—2n โˆ’๐ผ]๐‘˜๐‘™ โ€ฆ.. (16)
[054]
Next, transpose of the Cholesky tensor is encoded on the first 25 quantum circuit to form a second Cholesky circuit component as illustrated by block 408. It is mathematically represented by equation 17.
29
๐‘‰โ€ฒ๐ฟ=ฮฃ[|๐‘,๐‘Ÿ1,๐‘Ÿ2,0โŸฉโŸจ๐‘,๐‘Ÿ1,๐‘Ÿ2,0|โŠ— (๐ฟ๐‘Ÿ1,๐‘Ÿ2๐‘โ€ฒ๐ผ+๐‘๐‘Ž๐‘ข๐‘ฅโˆ’1,๐‘๐‘Ž๐‘œโˆ’1๐‘=0,๐‘Ÿ1=0,๐‘Ÿ2=0๐‘–โˆš1โˆ’(๐ฟ๐‘Ÿ1,๐‘Ÿ2๐‘โ€ฒ)2๐‘Œ)+|๐‘,๐‘Ÿ1,๐‘Ÿ2,1โŸฉโŸจ๐‘,๐‘Ÿ,1|โŠ—๐ผ2] โ€ฆ. (17)
[055]
Further, the second quantum circuit component is composed with the second Cholesky circuit component (to form block 410) for processing the intermediate state vector to obtain a plurality of states at the second set of qubits in 5 the first quantum circuit. At step 210a6, sequences of bitstrings are read from the second set of qubits (by block 412) to obtain the direct matrix. This step is mathematically represented by equation 18.
โŸจ0,๐‘–,0,0,0|๐ปโŠ—๐‘š๐‘‰๐ฟโ€ฒ๐‘…๐‘‰๐ฟ๐‘‚(๐ท)|0,๐‘—,0,1,0โŸฉ=ฮฃ๐ฟ๐‘–๐‘—๐‘Ž๐ฟ๐‘˜๐‘™๐‘Ž๐ท๐‘˜๐‘™=๐ฝ๐‘–๐‘— โ€ฆ.. (18)
[056]
Once the direct (J) matrix is obtained, at step 210b, a correlation 10 exchange matrix is determined based on the initial density matrix, the collocation matrix, a Gradient of collocation matrix, and a Hessian of the collocation matrix for meta Generalized Gradient Approximation (meta GGA). The correlation exchange matrix is computed using a second quantum circuit. The second quantum circuit comprises (a) control qubits composed of a first set of qubits and a second set of 15 qubits, and (b) a plurality of ancilla qubits. The first set of qubits is associated with the number of points on the numerical grid, the second set of qubits is associated with the number of atomic orbitals, and the plurality of ancilla qubits are used to store numerical entries of the collocation matrix and the initial density matrix. In an embodiment, the second quantum circuit is mathematically represented as: 20 ๐‘™๐‘œ๐‘” ๐‘๐‘” + 2๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ+2 qubits. Here, ๐‘™๐‘œ๐‘” ๐‘๐‘” represents the first set of qubits, ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ represents the second set of qubits, and 2 qubits represent the plurality of ancilla qubits.
[057]
Initially, at step 210b1, the collocation matrix is encoded on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) a 25 plurality of ancilla qubits in the second quantum circuit to obtain a first quantum circuit block a shown in FIG. 5. FIG. 5 illustrates a first quantum circuit block that encodes a collocation matrix in the method illustrated in FIG. 2, in accordance with some embodiments of the present disclosure. In an embodiment, a quantum circuit
30
block could be an independently functioning quantum circuit or a part of the
quantum circuit. In an embodiment, a set of Hadamard gates and a set of multi-controlled RY gates are used to encode the collocation matrix. As shown in FIG. 5, each entry of the collocation matrix is being encoded on ๐‘Ž2 ancilla qubit with controls on ๐‘๐‘Ž๐‘œ and ๐‘๐‘” sets of qubits. 5
[058]
At step 210b2, a gradient of the collocation matrix is computed and encoded on the quantum circuit to obtain a first gradient quantum circuit. The first gradient quantum circuit is obtained by block encoding a plurality of sub-collocation matrices (six sub-collocation matrices in the present disclosure) obtained from the collocation matrix for positions (๐‘ฅ+/โˆ’ ๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ฅ,๐‘ฆ,๐‘ง), (๐‘ฅ,๐‘ฆ+10 /โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ฆ,๐‘ง), (๐‘ฅ,๐‘ฆ,๐‘ง+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ง) using three additional ancilla qubits. Further, the plurality of sub-collocation matrices are sandwiched across the set of Hadamard gates to block encode finite differences of each of the plurality of sub-collocation matrices for three directions including a X-direction, a Y-direction, and a Z-direction. 15
[059]
At step 210b3, a hessian of the collocation matrix on the quantum circuit is computed and encoded to obtain a first hessian quantum circuit block. The hessian of the collocation matrix is obtained by encoding the collocation matrix for a set of real space grid points (+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0,0),(0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0),(0,0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž),(+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž),(+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0),(0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,+/20 โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž) on (a) control qubits composed of the first set of qubits and the second set of qubits, and (b) the plurality of ancilla qubits to obtain the third quantum circuit block. In other words, a plurality of collocation matrices are obtained from the collocation matrix with shifted coordinates corresponding to 15 basis functions which are mathematically represented by equation 19 25
ฮฆยฑฮ”๐‘ฅ,ยฑฮ”๐‘ฆ=( ๐œ™1(๐‘ฅ1ยฑฮ”๐‘ฅ,๐‘ฆ1ยฑฮ”๐‘ฆ,๐‘ง1),โ€ฆโ€ฆโ€ฆ๐œ™1(๐‘ฅ๐‘๐‘”ยฑฮ”๐‘ฅ,๐‘ฆ๐‘๐‘”ยฑฮ”๐‘ฆ,๐‘ง๐‘๐‘”)โ‹ฎโ‹ฎ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ1ยฑฮ”๐‘ฅ,๐‘ฆ1ยฑฮ”๐‘ฆ,๐‘ง1),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”ยฑฮ”๐‘ฅ,๐‘ฆ๐‘๐‘”ยฑฮ”๐‘ฆ,๐‘ง๐‘๐‘”))
31
ฮฆยฑฮ”๐‘ฅ,ยฑฮ”๐‘ง=( ๐œ™1(๐‘ฅ1ยฑฮ”๐‘ฅ,๐‘ฆ1๐‘ฆ,๐‘ง1ยฑฮ”๐‘ง),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”ยฑฮ”๐‘ฅ,๐‘ฆ๐‘๐‘”,๐‘ง๐‘๐‘”ยฑฮ”๐‘ง)โ‹ฎโ‹ฎ๐œ™1(๐‘ฅ1ยฑฮ”๐‘ฅ,๐‘ฆ1,๐‘ง1ยฑฮ”๐‘ง),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”ยฑฮ”๐‘ฅ,๐‘ฆ๐‘๐‘”,๐‘ง๐‘๐‘”ยฑฮ”๐‘ง))
ฮฆยฑฮ”๐‘ฆ,ยฑฮ”๐‘ง=( ๐œ™1(๐‘ฅ1,๐‘ฆ1ยฑฮ”๐‘ฆ,๐‘ง1ยฑฮ”๐‘ง),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”,๐‘ฆ๐‘๐‘”ยฑฮ”๐‘ฆ,๐‘ง๐‘๐‘”ยฑฮ”๐‘ง)โ‹ฎโ‹ฎ๐œ™1(๐‘ฅ1,๐‘ฆ1ยฑฮ”๐‘ฆ,๐‘ง1ยฑฮ”๐‘ง),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”,๐‘ฆ๐‘๐‘”ยฑฮ”๐‘ฅ,๐‘ง๐‘๐‘”ยฑฮ”๐‘ง)) ฮฆยฑฮ”๐‘ฅ,ยฑฮ”๐‘ฆ5 =( ๐œ™1(๐‘ฅ1ยฑฮ”๐‘ฅ,๐‘ฆ1ยฑฮ”๐‘ฆ,๐‘ง1),โ€ฆโ€ฆโ€ฆ๐œ™1(๐‘ฅ๐‘๐‘”ยฑฮ”๐‘ฅ,๐‘ฆ๐‘๐‘”ยฑฮ”๐‘ฆ,๐‘ง๐‘๐‘”)โ‹ฎโ‹ฎ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ1ยฑฮ”๐‘ฅ,๐‘ฆ1ยฑฮ”๐‘ฆ,๐‘ง1),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”ยฑฮ”๐‘ฅ,๐‘ฆ๐‘๐‘”ยฑฮ”๐‘ฆ,๐‘ง๐‘๐‘”)) ฮฆยฑ2ฮ”๐‘ฅ=( ๐œ™1(๐‘ฅ1ยฑ2ฮ”๐‘ฅ,๐‘ฆ1๐‘ฆ,๐‘ง1),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”ยฑ2ฮ”๐‘ฅ,๐‘ฆ๐‘๐‘”,๐‘ง๐‘๐‘”)โ‹ฎโ‹ฎ๐œ™1(๐‘ฅ1ยฑ2ฮ”๐‘ฅ,๐‘ฆ1),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”ยฑ2ฮ”๐‘ฅ,๐‘ฆ๐‘๐‘”,๐‘ง๐‘๐‘”)) ฮฆยฑ2ฮ”๐‘ฆ=( ๐œ™1(๐‘ฅ1,๐‘ฆ1ยฑ2ฮ”๐‘ฆ,๐‘ง1ยฑฮ”๐‘ง),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”,๐‘ฆ๐‘๐‘”ยฑ2ฮ”๐‘ฆ,๐‘ง๐‘๐‘”)โ‹ฎโ‹ฎ๐œ™1(๐‘ฅ1,๐‘ฆ1ยฑ2ฮ”๐‘ฆ,๐‘ง1ยฑฮ”๐‘ง),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”,๐‘ฆ๐‘๐‘”ยฑ2ฮ”๐‘ฆ,๐‘ง๐‘๐‘”))
ฮฆยฑ2ฮ”๐‘ง=10 ( ๐œ™1(๐‘ฅ1,๐‘ฆ1,๐‘ง1ยฑ2ฮ”๐‘ง),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”,๐‘ฆ๐‘๐‘”,๐‘ง๐‘๐‘”)โ‹ฎโ‹ฎ๐œ™1(๐‘ฅ1,๐‘ฆ1ยฑ2ฮ”๐‘ฆ,๐‘ง1ยฑฮ”๐‘ง),โ€ฆโ€ฆโ€ฆ๐œ™๐‘๐‘Ž๐‘œ(๐‘ฅ๐‘๐‘”,๐‘ฆ๐‘๐‘”ยฑ2ฮ”๐‘ฆ,๐‘ง๐‘๐‘”))
(19)
The plurality of collocation matrices for different position shift are: (๐‘ฅ,๐‘ฆ,๐‘ง),(๐‘ฅ+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ฅ,๐‘ฆ,๐‘ง),,(๐‘ฅ,๐‘ฆ+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ฆ,๐‘ง),(๐‘ฅ,๐‘ฆ,๐‘ง+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ง),(๐‘ฅ+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ฅ,๐‘ฆ+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ฆ,๐‘ง),(๐‘ฅ+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ฅ,๐‘ฆ,๐‘ง+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ง),(๐‘ฅ,๐‘ฆ+/15 โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ฆ,๐‘ง+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž ๐‘ง). Altogether 25 collocation matrices are block encoded with 5 qubits. And then, finite differences are performed to compute different
32
components of the Hessian of the collocation matrix as shown in FIGS. 6A through 6F. The finite difference formulas for different components of the Hessian of the collocation matrix is given by, ๐œ•๐‘—2ฮฆ=ฮฆ2ฮ”๐‘—+ฮฆโˆ’2ฮ”๐‘—โˆ’2ฮฆ ๐œ•๐‘ฅ๐‘ฆ2ฮฆ=(ฮฆฮ”๐‘ฅ,ฮ”๐‘ฆโˆ’ฮฆฮ”๐‘ฅ,โˆ’ฮ”๐‘ฆ)โˆ’(ฮฆโˆ’ฮ”๐‘ฅ,ฮ”๐‘ฆโˆ’ฮฆโˆ’ฮ”๐‘ฅ,โˆ’ฮ”๐‘ฆ) 5 ๐œ•๐‘ฆ๐‘ง2ฮฆ=(ฮฆฮ”๐‘ฆ,ฮ”๐‘งโˆ’ฮฆฮ”๐‘ฆ,โˆ’ฮ”๐‘ง)โˆ’(ฮฆโˆ’ฮ”๐‘ฆ,ฮ”๐‘งโˆ’ฮฆโˆ’ฮ”๐‘ฆ,โˆ’ฮ”๐‘ง)
๐œ•๐‘ง๐‘ฅ2ฮฆ=(ฮฆฮ”๐‘ง,ฮ”๐‘ฅโˆ’ฮฆฮ”๐‘ง,โˆ’ฮ”๐‘ฅ)โˆ’(ฮฆโˆ’ฮ”๐‘ง,ฮ”๐‘ฅโˆ’ฮฆโˆ’ฮ”๐‘ง,โˆ’ฮ”๐‘ฅ) (20)
As shown in equation (20), six independent components of the Hessian of the collocation matrix are obtained. The above 19 matrices are encoded on a third 10 quantum circuit and their differences corresponding to the finite difference formulas are computed. As a first step, the third quantum circuit mathematically expressed as ๐‘›๐‘” +๐‘›๐‘Ž๐‘œ+ 2 + 2 qubits is used, where ๐‘›๐‘”= ๐‘™๐‘œ๐‘” ๐‘๐‘” , ๐‘›๐‘Ž๐‘œ= ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ arranged as |โŸฉ๐‘๐‘Ž๐‘œ|โŸฉ๐‘๐‘”|โŸฉ1|โŸฉ๐‘Ž1 |โŸฉ๐‘Ž2 to compute gradients of the density matrix as shown in equation (21). 15 ๐‘‰โˆ‚๐‘—2ฮฆ=๐ผ2โŠ—(๐‘›๐‘Ž๐‘œ+๐‘›๐‘”)๐ปโŠ—2๐ผ2โŠ—2๐ปฮฃ(|๐‘,๐‘Ÿ,0,0,0โŸฉโŸจ๐‘,๐‘Ÿ,0,0,0|โŠ—[ฮฆ+ฮ”๐‘—,๐‘,๐‘Ÿ๐ผ๐‘Ÿ,๐‘+๐‘–โˆš1โˆ’ฮฆ+ฮ”๐‘—,๐‘,๐‘Ÿ2๐‘Œ] +|๐‘,๐‘Ÿ,0,0,1โŸฉโŸจ๐‘,๐‘Ÿ,0,0,1|โŠ—๐ผ2+|๐‘,๐‘Ÿ,0,1,0โŸฉโŸจ๐‘,๐‘Ÿ,0,1,0|โŠ—[ฮฆโˆ’ฮ”๐‘—,๐‘,๐‘Ÿ๐ผ+๐‘–โˆš1โˆ’ฮฆโˆ’ฮ”๐‘—,๐‘,๐‘Ÿ2๐‘Œ]+|๐‘,๐‘Ÿ,0,1,1โŸฉโŸจ๐‘,๐‘Ÿ,0,1,1|โŠ—๐ผ2+|๐‘,๐‘Ÿ,1,0,0โŸฉโŸจ๐‘,๐‘Ÿ,1,0,0|โŠ—[ฮฆ๐‘,๐‘Ÿ๐ผ+๐‘–โˆš1โˆ’ฮฆ๐‘,๐‘Ÿ2๐‘Œ]20 +|๐‘,๐‘Ÿ,1,0,1โŸฉโŸจ๐‘,๐‘Ÿ,1,0,1|โŠ—๐ผ2+|๐‘,๐‘Ÿ,1,1โŸฉโŸจ๐‘,๐‘Ÿ,1,1|โŠ—๐ผ2โŠ—2)๐ผ2โŠ—(๐‘›๐‘Ž๐‘œ+๐‘›๐‘”)๐ปโŠ—2๐ผ2โŠ—2๐ป
33
๐‘‰โˆ‚๐‘–๐‘—2ฮฆ=๐ผ2โŠ—(๐‘›๐‘Ž๐‘œ+๐‘›๐‘”)๐ปโŠ—2๐ผ2โŠ—2๐ปฮฃ(|๐‘,๐‘Ÿ,0,0,0โŸฉโŸจ๐‘,๐‘Ÿ,0,0,0|โŠ—[ฮฆ+ฮ”๐‘–,+ฮ”๐‘—,๐‘,๐‘Ÿ๐ผ๐‘Ÿ,๐‘+๐‘–โˆš1โˆ’ฮฆ+ฮ”๐‘–,+ฮ”๐‘—,๐‘,๐‘Ÿ2๐‘Œ]+|๐‘,๐‘Ÿ,0,0,1โŸฉโŸจ๐‘,๐‘Ÿ,0,0,1|โŠ—๐ผ2+|๐‘,๐‘Ÿ,0,1,0โŸฉโŸจ๐‘,๐‘Ÿ,0,1,0|โŠ—[ฮฆโˆ’ฮ”๐‘–,+ฮ”๐‘—,๐‘,๐‘Ÿ๐ผ+๐‘–โˆš1โˆ’ฮฆโˆ’ฮ”๐‘–,+ฮ”๐‘—,๐‘,๐‘Ÿ2๐‘Œ]+|๐‘,๐‘Ÿ,0,1,1โŸฉโŸจ๐‘,๐‘Ÿ,0,1,1|โŠ—๐ผ25 +|๐‘,๐‘Ÿ,1,0,0โŸฉโŸจ๐‘,๐‘Ÿ,1,0,0|โŠ—[ฮฆ+ฮ”๐‘–,โˆ’ฮ”๐‘—,๐‘,๐‘Ÿ๐ผ+๐‘–โˆš1โˆ’ฮฆ+ฮ”๐‘–,โˆ’ฮ”๐‘—,๐‘,๐‘Ÿ2๐‘Œ]+|๐‘,๐‘Ÿ,1,0,1โŸฉโŸจ๐‘,๐‘Ÿ,1,0,1|โŠ—๐ผ2+|๐‘,๐‘Ÿ,1,1,0โŸฉโŸจ๐‘,๐‘Ÿ,1,1,0|โŠ—[ฮฆโˆ’ฮ”๐‘–,โˆ’ฮ”๐‘—,๐‘,๐‘Ÿ๐ผ+๐‘–โˆš1โˆ’ฮฆโˆ’ฮ”๐‘–,โˆ’ฮ”๐‘—,๐‘,๐‘Ÿ2๐‘Œ]+|๐‘,๐‘Ÿ,1,1,1โŸฉโŸจ๐‘,๐‘Ÿ,1,1,1|โŠ—๐ผ2)๐ผ2โŠ—(๐‘›๐‘Ž๐‘œ+๐‘›๐‘”)๐ปโŠ—2๐ผ2โŠ—2๐ป
10 (21)
[060]
At step 210b4, the first quantum circuit block is composed with a second quantum circuit block to construct a third quantum circuit block. The second quantum circuit block encodes the initial density matrix on (a) control qubits composed of the second set of qubits and (b) an ancilla qubit in the quantum circuit. 15 The initial density matrix is loaded using its Eigen decomposition representation that involves: i) NaoC2 Givens rotations on ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ qubits, ii) Then block encoding a diagonal matrix of 1โ€™s in the initial ๐‘๐‘’/2 diagonal blocks and zeros in the rest using 2๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ qubits, iii) Another set of NaoC2 Givens rotation with conjugate angles on ๐‘๐‘’/2 diagonals. This is mathematically represented by equation 13. The 20 third quantum circuit block encodes a matrix multiplication of the collocation matrix and the initial density matrix.
[061]
At step 210b5, an electronic density is encoded on the quantum circuit by performing a sequential matrix multiplication of the collocation matrix, the density matrix, and the collocation matrix to obtain a fourth quantum circuit 25 block. After obtaining (i) the first quantum circuit block for encoding the collocation matrix, and (ii) the second quantum circuit block for encoding the initial density matrix, another collocation matrix is block-encoded for matrix multiplication using the fourth quantum circuit block. The matrix multiplication
34
encodes the data for electronic density on log Ng qubits. This is a state preparation
oracle for loading the electronic density.
[062]
At step 210b6, the third quantum circuit block that encodes the matrix multiplication of the collocation matrix and the initial density matrix is composed with the first gradient quantum circuit block that encoded the gradient of 5 the collocation matrix, to construct a second gradient quantum circuit block that encodes a gradient of the electronic density of the chemical compound. This is obtained when another set of three gradient matrices which are obtained by computing the gradient of the collocation matrix are block encoded using two ancilla qubits. The matrix multiplication in the second gradient quantum circuit 10 block encodes the data for the gradient of electronic density on ๐‘™๐‘œ๐‘” ๐‘๐‘”+2 qubits and the gradient of the collocation. This is the state preparation oracle for loading the gradient of the electronic density.
[063]
At step 210b7, the first hessian quantum circuit block that encodes the hessian of the collocation matrix is composed sequentially with the first 15 quantum circuit block and the second quantum circuit block that encodes the initial density matrix to construct a second hessian quantum circuit block that encodes a first component of hessian of the electronic density. The first component of the hessian of the electronic density is obtained by a sequential matrix multiplication of the hessian of the collocation matrix, the collocation matrix, and the initial 20 density matrix. Similarly, at steps 210b8, the first hessian quantum circuit block that encodes the hessian of the collocation matrix is composed sequentially with the second quantum circuit block that encodes the initial density matrix and the first quantum circuit block that encoded the collocation matrix to construct a third hessian quantum circuit block that encodes a second component of hessian of the 25 electronic density. The second component of the hessian of the electronic density is obtained by a sequential matrix multiplication of the hessian of the collocation matrix, the initial density matrix, and the collocation matrix.
[064]
Further, at step 210b9, a fourth hessian quantum circuit block is constructed that encodes a third component of hessian of the electronic density of 30 the chemical compound by sequentially composing the first hessian quantum circuit
35
block that encodes the hessian of the collocation matrix with the second quantum
circuit block that encodes the initial density matrix and the first gradient quantum circuit block encodes the gradient of the collocation matrix. The third component of the hessian of the electronic density is obtained by a sequential matrix multiplication of the hessian of the collocation matrix, the initial density matrix, 5 and the gradient of the collocation matrix. FIG. 7 illustrates a quantum circuit comprising the second hessian quantum circuit block, the third hessian quantum circuit block, and the fourth hessian quantum circuit block that encode the first, second and third components of the hessian of electronic density respectively in the method illustrated in FIG. 2, in accordance with some embodiments of the present 10 disclosure.
[065]
Further, at step 210b10, the hessian of the electronic density of the chemical compound is computed by adding the first, second and third component of hessian of the electronic density of the chemical compound using the plurality of ancilla qubits. This step is mathematically represented by equation (22). 15
๐œ•๐‘–๐‘—2(๐œŒ(๐‘Ÿ1),โ€ฆ๐œŒ(๐‘Ÿ๐‘๐‘”))๐‘‡=๐œ•๐‘–ฮฆ๐‘‡๐ท๐œ•๐‘—ฮฆ+๐œ•๐‘–๐‘—2ฮฆ๐‘‡๐ทฮฆ+ฮฆ๐‘‡๐ท๐œ•๐‘–๐‘—2ฮฆ (22)
[066]
Furthermore, at step 210b11, the Hessian of the electronic density of the chemical compound is encoded on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) the plurality of ancilla qubits to obtain a fifth hessian quantum circuit block. FIG. 8 illustrates a fifth quantum circuit block 20 that encodes Hessian of the electronic density in the method illustrated in FIG. 2, in accordance with some embodiments of the present disclosure. The fifth hessian quantum circuit block is mathematically represented by equation (23).
โˆ‚๐‘–๐‘—2ฯ(๐‘ฅ,๐‘ฆ,๐‘ง)=โŸจ0,0,0,0,๐‘,0,0|๐ปโŠ—2(|0,0โŸฉโŸจ0,0|โŠ—๐‘‰โˆ‚๐‘–ฮฆ๐‘…1๐‘‰๐ท๐‘‰โˆ‚๐‘—ฮฆ+|0,1โŸฉโŸจ0,1|โŠ—๐‘‰โˆ‚๐‘–๐‘—2ฮฆ๐‘…1๐‘‰๐ท๐‘‰ฮฆ+|1,0โŸฉโŸจ1,0|โŠ—๐‘‰ฮฆ๐‘…1๐‘‰๐ท๐‘‰๐œ•๐‘–๐‘—2ฮฆ+25 |11โŸฉโŸจ11|โŠ—๐ผ2โŠ—(๐‘›๐‘”+๐‘›๐‘Ž๐‘œ+2+2))๐ปโŠ—2|0,0,0,0,๐‘,0,0โŸฉ (23)
[067]
At step 210b12, the fourth quantum circuit block is put with a fifth quantum circuit block for a phase angle shifted reflector, the second gradient
36
quantum circuit block that encodes the gradient of the electronic density, and the
fifth hessian quantum circuit block that encodes the hessian of the electronic density into a quantum signal processing sequence. The quantum signal processing sequence create a sixth quantum circuit block that encodes a Chebyshev polynomial approximation of a nonlinear function of the electronic density. The nonlinear 5 function is a derivative of the electronic energy density with respect to the electronic density. This means a quantum signal processing sequence is constructed to encode a meta-GGA density functional.
[068]
At step 210b13, the sixth quantum circuit block is composed with the first quantum circuit block, to create a seventh quantum circuit block that 10 encodes a ๐‘ matrix. This step is mathematically represented by equation (24)
๐‘‰๐‘=ฮ [(๐ปโŠ— ๐‘›๐‘Ž๐‘œโŠ— ๐›ชโŠ—(๐‘›๐‘”+2))๐‘‰ฮฆ๐‘…1๐‘‰๐ท๐‘…1๐‘‰ฮฆ((1+๐‘’โˆ’๐‘–ฯ•๐‘˜)|0,๐‘–,0,0โŸฉโŸจ 0,๐‘–,0,0|๐‘๐‘˜=1โˆ’1)] ฮ [(๐ปโŠ— ๐‘›๐‘Ž๐‘œโŠ— ๐›ชโŠ—(๐‘›๐‘”+2))๐‘‰โˆ‡ฮฆ๐‘…1๐‘‰๐ท๐‘…1๐‘‰ฮฆ((1+๐‘’โˆ’๐‘–ฯ•๐‘˜)|0,๐‘–,0,0โŸฉโŸจ 0,๐‘–,0,0|โˆ’1)]๐‘๐‘˜=1 15 ฮ [(๐ปโŠ— ๐‘›๐‘Ž๐‘œโŠ— ๐›ชโŠ—(๐‘›๐‘”+2))๐‘‰โˆ‡ฮฆ๐‘…1๐‘‰๐ท๐‘…1๐‘‰โˆ‡ฮฆ((1+๐‘’โˆ’๐‘–ฯ•๐‘˜)|0,๐‘–,0,0โŸฉโŸจ 0,๐‘–,0,0|โˆ’1)]๐‘๐‘˜=1 ฮ [(๐ปโŠ— ๐‘›๐‘Ž๐‘œโŠ— ๐›ชโŠ—(๐‘›๐‘”+2))๐‘‰โˆ‡2ฮฆ๐‘…1๐‘‰๐ท๐‘…1๐‘‰ฮฆ((1+๐‘’โˆ’๐‘–ฯ•๐‘˜)|0,๐‘–,0,0โŸฉโŸจ 0,๐‘–,0,0|โˆ’1)]๐‘๐‘˜=1 ฮ [(๐ปโŠ— ๐‘›๐‘Ž๐‘œโŠ— ๐›ชโŠ—(๐‘›๐‘”+2))๐‘‰ฮฆ๐‘…1๐‘‰๐ท๐‘…1๐‘‰โˆ‡2ฮฆ((1+๐‘’โˆ’๐‘–ฯ•๐‘˜)|0,๐‘–,0,0โŸฉโŸจ 0,๐‘–,0,0|โˆ’1)]๐‘๐‘˜=1 20 (๐ปโŠ—๐‘›๐‘Ž๐‘œโŠ—๐ผโŠ—(๐‘›๐‘”+2))๐‘‰ฮฆ๐ปโŠ—๐‘›๐‘” (24)
25
[069]
Further, at step 210b14, the seventh quantum circuit block is composed with the first quantum circuit block, to create an eight quantum circuit block that encodes the correlation exchange matrix. FIG. 9 illustrates the eight quantum circuit block that encodes the correlation exchange matrix in the method
37
illustrated in FIG. 2, in accordance with some embodiments of the present
disclosure. As shown in FIG. 9, In order to compute the Hessian contribution to the exchange potential, a gradient of energy density needs to be computed with respect to the electronic density. The energy density is a nonlinear function of the electronic density, its gradient and its Hessian. A quantum signal processing sequence is 5 generated using the block encoding oracles of the electronic density, its 3 components of the gradient and 6 components of the Hessian to obtain the electronic energy density and its derivative with respect to its density. This is then sandwiched via the first quantum circuit block that encodes the Collocation matrix to create the correlation exchange matrix, ๐‘‰๐‘ฅ๐‘. This step is mathematically represented by 10 equation (25).
๐‘‰๐‘–๐‘—๐‘ฅ๐‘=โŸจ๐‘–,0,0,0|๐ปโŠ—๐‘›๐‘”๐‘‰ฮฆ๐‘‰๐‘|๐‘—,0,0,0โŸฉ=ฮฃฮฆ๐‘–๐‘Ÿ๐‘Ÿ๐‘‘๐ธ(๐œŒ,โˆ‡๐œŒ,โˆ‡2๐œŒ)๐‘‘๐œŒ(๐‘Ÿ)ฮฆ๐‘—๐‘Ÿ (25)
[070]
Once the correlation exchange matrix is determined, at step 210c, a Fock matrix is computed by adding the direct matrix and the correlation exchange matrix. At step 210d, qubitized diagonalization of the Fock matrix is performed to 15 obtain an intermediate density matrix. At step 210e, the steps 210a through 210d are repeated until the convergence criteria is satisfied by considering the intermediate density matrix as the initial density matrix to obtain the final density matrix of the chemical compound.
[071]
Finally, at step 212, the one or more classical hardware processors 20 are configured to utilize the final density matrix of the chemical compound to extract the one or more properties of the chemical compound. The final density matrix enables computation of properties such as the HOMO-LUMO gap from energies of the highest occupied Kohn Sham orbital and lowest unoccupied orbital, the charge distribution from integrating the electronic density in regions around the 25 different atoms where the electronic density is obtained from the initial density matrix, a dipole moment from an expectation value of perturbation electric field operator with respect to the final density matrix.
USE CASE EXAMPLES
38
[072]
Example 1: For drug screening, an accurate potential energy surface of a drug molecule is obtained from the method 200 disclosed herein. Then, gradients are studied from the PES and the forces associated with the displacement of the ligand molecules in protein environment are calculated. This will enable more accurate assessment of ligand conformations and protein docking faces. Further 5 dynamical response functions can be calculated which helps better determination of the binding.
[073]
Example 2: For selecting cathode materials for rechargeable batteries, accurate optimized geometry of the cathode molecules in electrolyte environment, and associated ground state energy are calculated from method 200. 10 This will then be used to compute more accurate energy enthalpy differences for the redox reactions. In turn the energy enthalpy differences are used to calculate high open cell voltages(OCV) (equilibrium voltage). A higher OCV leads to a higher cut-off for the recharging voltage. Cathode materials with different co-doped transition metal oxides (like Co, Ni, Mn) are screened using high OCV as the 15 deciding factor. As there are large number of properties to optimize such as number of battery recharging cycles, charging percentage, time to recharge, weight of battery material. The number of battery materials are more than a million, thus faster quantum chemistry calculation is required to screen them based on Density functional theory. 20
[074]
Example 3: For drug conformational search and drug design, the molecular descriptors, conformations, solvation energy is obtained from the method 200 disclosed herein. Then from the conformational energies and the descriptors the subset of drug molecule structure and conformations with one or more target properties are prepared via high throughput experimentation. 25
[075]
Example 4: Screening corrosion inhibitor molecules for aluminum sheets where efficacy is required to be enhanced, low cost of inhibitor molecules and availability is maintained, and adverse medical effects are ensured.
EXPERIMENTAL RESULTS 30
39
[076]
The meta generalized gradient approximation (meta GGA) functional computation was performed on classical processor using conventional methods and quantum processor using the method 200. The classical complexity is measured in terms of space and time complexity. Similarly, the quantum complexity is measured in terms of number of qubits and gate complexity. The 5 results are recorded in table 1.
Table 1
Quantity
Classical Complexity
Quantum Complexity
Space
Time
No.of Qubits
Gate complexity
๐‘‰๐‘ฅ๐‘[ฯ,โˆ‡ฯ,โˆ‡2ฯ](metaโˆ’GGA)
๐‘‚(๐‘2๐‘๐‘”)
๐‘‚(2๐‘2๐‘๐‘”)
log๐‘+log๐‘๐‘”
16(log๐‘+log๐‘๐‘”)
For the meta GGA density functional computation, the correlation exchange potential is a function of the electronic density, gradient of the electronic density 10 and the Hessian of the electronic density. For computing the electronic density, the number of qubits needed to encode the electronic density is given by ๐‘™๐‘œ๐‘” ๐‘ +๐‘™๐‘œ๐‘” ๐‘๐‘”, where ๐‘๐‘” is number of points on numerical grid and ๐‘ is number of basis functions. Further, 3 additional ancilla qubits are needed to encode different components of the Hessian of the electronic density. Gate complexity is associated 15 with a diffusion operator that enables a multiplication between the Collocation matrix and the Hessian of the collocation matrix and the initial density matrix. The gate complexity scales logarithmically with the number of basis functions. Classically, the space complexity to store the integrals is ๐‘2๐‘๐‘” and the time complexity is ๐‘2๐‘๐‘”. 20
[077] The written description describes the subject matter herein to enable any person skilled in the art to make and use the embodiments. The scope of the subject matter embodiments is defined by the claims and may include other modifications that occur to those skilled in the art. Such other modifications are intended to be within the scope of the claims if they have similar elements that do 25
40
not differ from the literal language of the claims or if they include equivalent elements with insubstantial differences from the literal language of the claims.
[078] It is to be understood that the scope of the protection is extended to such a program and in addition to a computer-readable means having a message therein; such computer-readable storage means contain program-code means for 5 implementation of one or more steps of the method, when the program runs on a server or mobile device or any suitable programmable device. The hardware device can be any kind of device which can be programmed including e.g., any kind of computer like a server or a personal computer, or the like, or any combination thereof. The device may also include means which could be e.g., hardware means 10 like e.g., an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination of hardware and software means, e.g., an ASIC and an FPGA, or at least one microprocessor and at least one memory with software processing components located therein. Thus, the means can include both hardware means, and software means. The method embodiments described herein 15 could be implemented in hardware and software. The device may also include software means. Alternatively, the embodiments may be implemented on different hardware devices, e.g., using a plurality of CPUs.
[079] The embodiments herein can comprise hardware and software elements. The embodiments that are implemented in software include but are not 20 limited to, firmware, resident software, microcode, etc. The functions performed by various components described herein may be implemented in other components or combinations of other components. For the purposes of this description, a computer-usable or computer readable medium can be any apparatus that can comprise, store, communicate, propagate, or transport the program for use by or in 25 connection with the instruction execution system, apparatus, or device.
[080] The illustrated steps are set out to explain the exemplary embodiments shown, and it should be anticipated that ongoing technological development will change the manner in which particular functions are performed. These examples are presented herein for purposes of illustration, and not limitation. 30 Further, the boundaries of the functional building blocks have been arbitrarily
41
defined herein for the convenience of the description. Alternative boundaries can be defined so long as the specified functions and relationships thereof are appropriately performed. Alternatives (including equivalents, extensions, variations, deviations, etc., of those described herein) will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein. Such 5 alternatives fall within the scope of the disclosed embodiments. Also, the words โ€œcomprising,โ€ โ€œhaving,โ€ โ€œcontaining,โ€ and โ€œincluding,โ€ and other similar forms are intended to be equivalent in meaning and be open ended in that an item or items following any one of these words is not meant to be an exhaustive listing of such item or items or meant to be limited to only the listed item or items. It must also be 10 noted that as used herein and in the appended claims, the singular forms โ€œa,โ€ โ€œan,โ€ and โ€œtheโ€ include plural references unless the context clearly dictates otherwise.
[081] Furthermore, one or more computer-readable storage media may be utilized in implementing embodiments consistent with the present disclosure. A computer-readable storage medium refers to any type of physical memory on which 15 information or data readable by a processor may be stored. Thus, a computer-readable storage medium may store instructions for execution by one or more processors, including instructions for causing the processor(s) to perform steps or stages consistent with the embodiments described herein. The term โ€œcomputer-readable mediumโ€ should be understood to include tangible items and exclude 20 carrier waves and transient signals, i.e., be non-transitory. Examples include random access memory (RAM), read-only memory (ROM), volatile memory, non-volatile memory, hard drives, CD ROMs, DVDs, flash drives, disks, and any other known physical storage media.
[082] It is intended that the disclosure and examples be considered as 25 exemplary only, with a true scope of disclosed embodiments being indicated by the following claims.
42
We Claim:
1.
A method (200), performed by a system comprising one or more classical hardware processors and a plurality of unentangled Quantum Processor Units (QPUs), wherein the one or more classical hardware processors are communicably coupled to the plurality of unentangled QPUs by respective 5 interfaces, wherein the method comprising:
receiving, via the one or more classical hardware processors, a chemical compound whose one or more properties to be extracted, wherein the chemical compound is at least one of (i) a molecule, and (ii) a solid (202); 10
obtaining, via the one or more classical hardware processors, a plurality of atomic coordinates of each of a plurality of atoms present in the chemical compound (204);
determining, via the one or more classical hardware processors, (i) a plurality of electron integrals, (ii) a core Hamiltonian matrix, and (iii) a 15 collocation matrix, from the plurality of atomic coordinates of each of the plurality of atoms present in the chemical compound, wherein the collocation matrix is a rectangular matrix of dimension ๐‘๐‘” and ๐‘๐‘Ž๐‘œ, and wherein ๐‘๐‘” represents a number of real space grid points, ๐‘๐‘Ž๐‘œ is a number of basis functions (206); 20
determining, via the plurality of unentangled QPUs, an initial density matrix of the chemical compound from the core Hamiltonian matrix, wherein the initial density matrix is constructed using (i) a single particles unitary rotation matrix which is obtained by diagonalizing the core Hamiltonian matrix, and (ii) electron occupancies (208); 25
iteratively updating, via the plurality of unentangled QPUs, the initial density matrix until a convergence criteria is satisfied to obtain a final density matrix of the chemical compound (210), wherein iteratively updating the initial density matrix at each iteration comprises:
(a)
computing a direct (J) matrix from the initial density matrix 30 (210a);
43
(b)
determining a correlation exchange matrix based on the initial density matrix, the collocation matrix, a Gradient of collocation matrix, and a Hessian of the collocation matrix for meta Generalized Gradient Approximation (meta GGA) (210b) by:
(i)
encoding the collocation matrix on (a) control qubits 5 composed of a first set of qubits and a second set of qubits, and (b) a plurality of ancilla qubits in a second quantum circuit, to obtain a first quantum circuit block, wherein the first set of qubits is associated with the number of points on the numerical grid, the second set of qubits is associated with 10 the number of atomic orbitals, and the plurality of ancilla qubits are used to store numerical entries of the collocation matrix and the initial density matrix (210b1);
(ii)
encoding a gradient of the collocation matrix on the quantum circuit to obtain a gradient to obtain a first gradient 15 quantum circuit block;
(iii)
encoding a hessian of the collocation matrix on the quantum circuit to obtain a first hessian quantum circuit block (210b2);
(iv)
composing the first quantum circuit block with a 20 second quantum circuit block that encodes an intermediate density matrix on (a) control qubits composed of the second set of qubits and (b) an ancilla qubit in the quantum circuit, to construct a third quantum circuit block (210b3);
(v)
encoding an electronic density on the quantum circuit 25 by performing a sequential matrix multiplication of the collocation matrix, the density matrix, and the collocation matrix to obtain a fourth quantum circuit block (210b4);
(vi)
composing the third quantum circuit block with the first gradient quantum circuit block that encoded the gradient 30 of the collocation matrix, to construct a second gradient
44
quantum circuit block that encodes a gradient of the
electronic density of the chemical compound (210b5);
(vii)
composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the first quantum circuit block and the second quantum circuit 5 block that encodes the initial density matrix sequentially, to construct a second hessian quantum circuit block that encodes a first component of hessian of the electronic density (210b6);
(viii)
composing the first hessian quantum circuit block 10 that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial density matrix and the first quantum circuit block that encoded the collocation matrix sequentially, to construct a third hessian quantum circuit block that encodes a second component of 15 hessian of the electronic density (210b7);
(ix)
composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial density matrix and the first gradient quantum circuit block encodes 20 the gradient of the collocation matrix, to construct a fourth hessian quantum circuit block that encodes a third component of hessian of the electronic density of the chemical compound (210b8);
(x)
computing the hessian of the electronic density of the 25 chemical compound by adding the first, second and third component of hessian of the electronic density of the chemical compound using the plurality of ancilla qubits (210b9);
(xi)
encoding the Hessian of the electronic density of the 30 chemical compound on (a) control qubits composed of a first
45
set of qubits and a second set of qubits, and (b) the plurality
of ancilla qubits, to obtain a fifth hessian quantum circuit block (210b10);
(xii)
putting the fourth quantum circuit block with a fifth quantum circuit block for a phase angle shifted reflector, the 5 second gradient quantum circuit block that encodes the gradient of the electronic density, and the fifth hessian quantum circuit block that encodes the hessian of the electronic density into a quantum signal processing sequence, to create a sixth quantum circuit block that 10 encodes a Chebyshev polynomial approximation of a nonlinear function of the electronic density, wherein the nonlinear function is a derivative of the electronic energy density with respect to the electronic density (210b11);
(xiii)
composing the sixth quantum circuit block with the 15 first quantum circuit block, to create a seventh quantum circuit block that encodes a ๐‘ matrix (210b12); and
(xiv)
composing the seventh quantum circuit block with the first quantum circuit block, to create an eight quantum circuit block that encodes the correlation exchange matrix 20 (210b13 );
(c)
determining a Fock (๐น) matrix by adding the ๐ฝ matrix and the correlation exchange matrix (210c);
(d)
performing a qubitized diagonalization of the ๐น matrix to obtain an intermediate density matrix (210d); and
(e)
repeating the steps of computing the direct (๐ฝ) matrix till performing the qubitized diagonalization of the ๐น matrix until the convergence criteria is satisfied to obtain the final density matrix of the chemical compound, wherein the intermediate density matrix is considered as the initial density matrix until the convergence criteria 30 is satisfied (210e); and

utilizing, via the one or more classical hardware processors, the final density matrix of the chemical compound to extract the one or more properties of the chemical compound (212).
2.
The method as claimed in claim 1, wherein the convergence criteria is 5 satisfied when a norm of a difference between the intermediate density matrix at a current iteration and the initial density matrix at a previous iteration is lesser than a predefined threshold.
3.
The method as claimed in claim 1, wherein the (i) control qubits composed 10 of the first set of qubits and the second set of qubits, and (ii) the plurality of ancilla qubits, to obtain the first quantum circuit block, is mathematically represented as: ๐‘™๐‘œ๐‘” ๐‘๐‘”+ ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ+2 ๐‘ž๐‘ข๐‘๐‘–๐‘ก๐‘ , where ๐‘™๐‘œ๐‘” ๐‘๐‘” represents the first set of qubits, ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ represents the second set of qubits, and 2 qubits represent the plurality of ancilla qubits.
4.
The method as claimed in claim 1, wherein the hessian of the collocation matrix is obtained by encoding the collocation matrix for a set of real space grid points (+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0,0),(0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0),(0,0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž),(+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž),(+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0),(0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,+/20 โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž) on (a) control qubits composed of the first set of qubits and the second set of qubits, and (b) the plurality of ancilla qubits to obtain the first hessian quantum circuit block.
5.
A system (100) comprising:
one or more classical hardware processors (108) and a plurality of unentangled quantum processors (122), wherein the one or more classical hardware processors (108) are communicably coupled to the plurality of unentangled quantum processors (122) by respective interfaces, wherein the one or more classical hardware processors are communicably coupled to at 30 least one memory (110) storing programmed instructions; one or more Input

/Output (I/O) interfaces (116); and the plurality of unentangled quantum processors (122) are operatively coupled to the at least one quantum memory (124), wherein the one or more classical hardware processors (108) and the plurality of unentangled quantum processors (122) are configured by the programmed instructions to:
receive a chemical compound whose one or more properties to be extracted, wherein the chemical compound is at least one of (i) a molecule, and (ii) a solid (202);
obtain a plurality of atomic coordinates of each of a plurality of atoms present in the chemical compound (204);
determine (i) a plurality of electron integrals, (ii) a core Hamiltonian matrix, and (iii) a collocation matrix, from the plurality of atomic coordinates of each of the plurality of atoms present in the chemical compound, wherein the collocation matrix is a rectangular matrix of dimension ๐‘๐‘” and ๐‘๐‘Ž๐‘œ, and wherein ๐‘๐‘” represents a number of real space 15 grid points, ๐‘๐‘Ž๐‘œ is a number of basis functions (206);
determine an initial density matrix of the chemical compound from the core Hamiltonian matrix, wherein the initial density matrix is constructed using (i) a single particles unitary rotation matrix which is obtained by diagonalizing the core Hamiltonian matrix, and (ii) electron 20 occupancies (208);
iteratively update the initial density matrix until a convergence criteria is satisfied to obtain a final density matrix of the chemical compound (210), wherein iteratively updating the initial density matrix at each iteration comprises:
(a)
computing a direct (๐ฝ) matrix from the initial density matrix (210a);
(b)
determining a correlation exchange matrix based on the initial density matrix, the collocation matrix, a Gradient of collocation matrix, and a Hessian of the collocation matrix for meta Generalized Gradient Approximation (meta GGA) (210b) by:

(i)
encoding the collocation matrix on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) a plurality of ancilla qubits in a second quantum circuit, to obtain a first quantum circuit block, wherein the first set of qubits is associated with the number of points on 5 the numerical grid, the second set of qubits is associated with the number of atomic orbitals, and the plurality of ancilla qubits are used to store numerical entries of the collocation matrix and the initial density matrix (210b1);
(ii)
encoding a gradient of the collocation matrix on the 10 quantum circuit to obtain a gradient to obtain a first gradient quantum circuit block(210b2);
(iii)
encoding a hessian of the collocation matrix on the quantum circuit to obtain a first hessian quantum circuit block (210b3);
(iv)
composing the first quantum circuit block with a second quantum circuit block that encodes an intermediate density matrix on (a) control qubits composed of the second set of qubits and (b) an ancilla qubit in the quantum circuit, to construct a third quantum circuit block (210b4);
(v)
encoding an electronic density on the quantum circuit by performing a sequential matrix multiplication of the collocation matrix, the density matrix, and the collocation matrix to obtain a fourth quantum circuit block (210b5);
(vi)
composing the third quantum circuit block with the 25 first gradient quantum circuit block that encoded the gradient of the collocation matrix, to construct a second gradient quantum circuit block that encodes a gradient of the electronic density of the chemical compound (210b6);
(vii)
composing the first hessian quantum circuit block 30 that encodes the hessian of the collocation matrix with the

first quantum circuit block and the second quantum circuit
block that encodes the initial density matrix sequentially, to construct a second hessian quantum circuit block that encodes a first component of hessian of the electronic density (210b7);
(viii)
composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial density matrix and the first quantum circuit block that encoded the collocation matrix sequentially, to construct a third hessian quantum circuit block that encodes a second component of hessian of the electronic density (210b8);
(ix)
composing the first hessian quantum circuit block that encodes the hessian of the collocation matrix with the second quantum circuit block that encodes the initial density 15 matrix and the first gradient quantum circuit block encodes the gradient of the collocation matrix, to construct a fourth hessian quantum circuit block that encodes a third component of hessian of the electronic density of the chemical compound (210b9);
(x)
computing the hessian of the electronic density of the chemical compound by adding the first, second and third component of hessian of the electronic density of the chemical compound using the plurality of ancilla qubits (210b10);
(xi)
encoding the Hessian of the electronic density of the chemical compound on (a) control qubits composed of a first set of qubits and a second set of qubits, and (b) the plurality of ancilla qubits, to obtain a fifth hessian quantum circuit block (210b11);

(xii)
putting the fourth quantum circuit block with a fifth quantum circuit block for a phase angle shifted reflector, the second gradient quantum circuit block that encodes the gradient of the electronic density, and the fifth hessian quantum circuit block that encodes the hessian of the electronic density into a quantum signal processing sequence, to create a sixth quantum circuit block that encodes a Chebyshev polynomial approximation of a nonlinear function of the electronic density, wherein the nonlinear function is a derivative of the electronic energy density with respect to the electronic density (210b12);
(xiii)
composing the sixth quantum circuit block with the first quantum circuit block, to create a seventh quantum circuit block that encodes a Z matrix (210b13); and
(xiv)
composing the seventh quantum circuit block with the first quantum circuit block, to create an eight quantum circuit block that encodes the correlation exchange matrix (210b14);
(c)
determining a Fock (๐น) matrix by adding the ๐ฝ matrix and the correlation exchange matrix (210c);
(d)
performing a qubitized diagonalization of the ๐น matrix to obtain an intermediate density matrix (210d); and
(e)
repeating the steps of computing the direct (๐ฝ) matrix till performing the qubitized diagonalization of the ๐น matrix until the convergence criteria is satisfied to obtain the final density matrix of the chemical compound, wherein the intermediate density matrix is considered as the initial density matrix until the convergence criteria is satisfied (210e); and
utilize the final density matrix of the chemical compound to extract the one or more properties of the chemical compound (212).

6.
The system as claimed in claim 5, wherein the convergence criteria is satisfied when a norm of a difference between the intermediate density matrix at a current iteration and the initial density matrix at a previous iteration is lesser than a predefined threshold.
7.
The system as claimed in claim 5, wherein the (i) control qubits composed of the first set of qubits and the second set of qubits, and (ii) the plurality of ancilla qubits, to obtain the first quantum circuit block, is mathematically represented as: ๐‘™๐‘œ๐‘” ๐‘๐‘”+ ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ+2 ๐‘ž๐‘ข๐‘๐‘–๐‘ก๐‘ , where ๐‘™๐‘œ๐‘” ๐‘๐‘” represents the first set of qubits, ๐‘™๐‘œ๐‘” ๐‘๐‘Ž๐‘œ represents the second set of qubits, and 2 qubits represent the plurality of ancilla qubits.
8.
The system as claimed in claim 5, wherein the hessian of the collocation matrix is obtained by encoding the collocation matrix for a set of real space grid points (+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0,0),(0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0),(0,0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž),(+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž),(+/๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,0),(0,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž,+/โˆ’๐‘‘๐‘’๐‘™๐‘ก๐‘Ž) on (a) control qubits composed of the first set of qubits and the second set of qubits, and (b) the plurality of ancilla qubits to obtain the first hessian quantum circuit block.

Documents

Application Documents

# Name Date
1 202321087620-STATEMENT OF UNDERTAKING (FORM 3) [21-12-2023(online)].pdf 2023-12-21
2 202321087620-REQUEST FOR EXAMINATION (FORM-18) [21-12-2023(online)].pdf 2023-12-21
3 202321087620-FORM 18 [21-12-2023(online)].pdf 2023-12-21
4 202321087620-FORM 1 [21-12-2023(online)].pdf 2023-12-21
5 202321087620-FIGURE OF ABSTRACT [21-12-2023(online)].pdf 2023-12-21
6 202321087620-DRAWINGS [21-12-2023(online)].pdf 2023-12-21
7 202321087620-DECLARATION OF INVENTORSHIP (FORM 5) [21-12-2023(online)].pdf 2023-12-21
8 202321087620-COMPLETE SPECIFICATION [21-12-2023(online)].pdf 2023-12-21
9 202321087620-FORM-26 [22-01-2024(online)].pdf 2024-01-22
10 Abstract1.jpg 2024-03-06
11 202321087620-Proof of Right [12-06-2024(online)].pdf 2024-06-12
12 202321087620-FORM 3 [12-02-2025(online)].pdf 2025-02-12
13 202321087620-Request Letter-Correspondence [19-02-2025(online)].pdf 2025-02-19
14 202321087620-Power of Attorney [19-02-2025(online)].pdf 2025-02-19
15 202321087620-Form 1 (Submitted on date of filing) [19-02-2025(online)].pdf 2025-02-19
16 202321087620-Covering Letter [19-02-2025(online)].pdf 2025-02-19
17 202321087620-FORM-26 [14-11-2025(online)].pdf 2025-11-14