Abstract
In this paper, a storage method and a context-aware circuit simulation idea are presented for the sum of block diagonal matrices. Using the design technique for a generalized circuit for the Hamiltonian dynamics through the truncated series, we generalize the idea to (0–1) matrices and discuss the generalization for the real matrices. The presented circuit requires O(n) number of quantum gates and yields the correct output with the success probability depending on the number of elements: For matrices with poly(n), the success probability is 1 / poly(n). Since the operations on the circuit are controlled by the data itself, the circuit can be considered as a context-aware computing gadget. In addition, it can be used in variational quantum eigensolver and in the simulation of molecular Hamiltonians.
Similar content being viewed by others
References
Nielsen, M.A., Chuang, I.L.: Quantum Computation and Quantum Information. Cambridge University Press, Cambridge (2010)
Childs, A.M., Kothari, R.: Simulating sparse Hamiltonians with star decompositions. Conference on Quantum Computation. Communication, and Cryptography, pp. 94–103. Springer, Berlin (2010)
Berry, D.W., Childs, A.M., Cleve, R., Kothari, R., Somma, R.D.: Exponential improvement in precision for simulating sparse Hamiltonians. In: Forum of Mathematics, Sigma, vol. 5. Cambridge University Press, Cambridge (2017)
Kassal, I., Whitfield, J.D., Perdomo-Ortiz, A., Yung, M.-H., Aspuru-Guzik, A.: Simulating chemistry using quantum computers. Ann. Rev. Phys. Chem. 62, 185–207 (2011)
Olson, J., Cao, Y., Romero, J., Johnson, P., Dallaire-Demers, P.-L., Sawaya, N., Narang, P., Kivlichan, I., Wasielewski, M., Aspuru-Guzik, A.: Quantum information and computation for chemistry. arXiv preprint arXiv:1706.05413 (2017)
Kais, S.: Quantum Information and Computation for Chemistry: Advances in Chemical Physics, vol. 154, p. 224109. Wiley, Hoboken (2014)
Bian, T., Murphy, D., Xia, R., Daskin, A., Kais, S.: Quantum computing methods for electronic states of the water molecule. Mol. Phys. 117, 2069–2082 (2019)
Xia, R., Bian, T., Kais, S.: Electronic structure calculations and the ising Hamiltonian. J. Phys. Chem. B 122, 3384–3395 (2017)
Xia, R., Kais, S.: Quantum machine learning for electronic structure calculations. Nat. Commun. 9, 4195 (2018)
Peruzzo, A., McClean, J., Shadbolt, P., Yung, M.-H., Zhou, X.-Q., Love, P.J., Aspuru-Guzik, A., O’brien, J.L.: A variational eigenvalue solver on a photonic quantum processor. Nat. Commun. 5, 4213 (2014)
McClean, J.R., Romero, J., Babbush, R., Aspuru-Guzik, A.: The theory of variational hybrid quantum-classical algorithms. New J. Phys. 18, 023023 (2016)
Low, G.H., Chuang, I.L.: Optimal Hamiltonian simulation by quantum signal processing. Phys. Rev. Lett. 118, 010501 (2017)
Daskin, A., Grama, A., Kollias, G., Kais, S.: Universal programmable quantum circuit schemes to emulate an operator. J. Chem. Phys. 137, 234112 (2012)
Daskin, A., Kais, S.: Direct application of the phase estimation algorithm to find the eigenvalues of the Hamiltonians. Chem. Phys. 514, 87–94 (2018)
Abowd, G.D., Dey, A.K., Brown, P.J., Davies, N., Smith, M., Steggles, P.: Towards a better understanding of context and context-awareness. In: International Symposium on Handheld and Ubiquitous Computing, pp. 304–307. Springer (1999)
Daskin, A., Kais, S.: A generalized circuit for the hamiltonian dynamics through the truncated series. Quantum Inf. Process. 17, 328 (2018)
Giovannetti, V., Lloyd, S., Maccone, L.: Quantum random access memory. Phys. Rev. Lett. 100, 160501 (2008)
Giovannetti, V., Lloyd, S., Maccone, L.: Architectures for a quantum random access memory. Phys. Rev. A 78, 052310 (2008)
Arunachalam, S., Gheorghiu, V., Jochym-O’Connor, T., Mosca, M., Srinivasan, P.V.: On the robustness of bucket brigade quantum ram. New J. Phys. 17, 123010 (2015)
O’malley, P.J.J., Babbush, R., Kivlichan, I.D., Romero, J., McClean, J.R., Barends, R., Kelly, J., Roushan, P., Tranter, A., Ding, N., et al.: Scalable quantum simulation of molecular energies. Phys. Rev. X 6, 031007 (2016)
Kandala, A., Mezzacapo, A., Temme, K., Takita, M., Brink, M., Chow, J.M., Gambetta, J.M.: Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature 549, 242 (2017)
Buhrman, H., Cleve, R., Watrous, J., De Wolf, R.: Quantum fingerprinting. Phys. Rev. Lett. 87, 167902 (2001)
McClean, J.R., Kivlichan, I.D., Sung, K.J., Steiger, D.S., Cao, Y., Dai, C., Fried, E.S., Gidney, C., Gimby, B., Gokhale, P., et al.: Openfermion: the electronic structure package for quantum computers. arXiv preprint arXiv:1710.07629 (2017)
Acknowledgements
One of us, S.K, would like to acknowledge the partial support from Purdue Integrative Data Science Initiative and the U.S. Department of Energy, Office of Basic Energy Sciences, under Award Number DE-SC0019215.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix A: Validation of the circuit in Fig. 1
The controlled gate set in the circuit has the following matrix form:
We can represent the whole circuit more concisely by using the direct sum of matrices:
To illustrate the action of the circuit, we will use the example matrix \(Q_i = Z\oplus XZ\) which leads to the following \(\left| g_{ik}\right\rangle \left| k\right\rangle \hbox {s}\):
Then, we form the following 6-qubit initial state:
After applying the controlled gates (CG) to the initial state, we obtain:
Applying the Hadamard gates to the first three qubits produces the following final state:
Here, the states where the first three qubits are in \(\left| 000\right\rangle \) includes the expected output which are:
The equivalent of \(Q_i\left| \psi \right\rangle \) is produced on the amplitudes of the states:
Appendix B: Validations of the circuits in Figs. 2 and 3
In the circuit in Fig. 2, we have the superpositioned input state \(\left| g\right\rangle \). Before the Hadamard gates on the first register of the circuit, for different \(\left| i\right\rangle \) on the output we have normalized \( Q_i \left| \psi \right\rangle \) on the same states as given in (A7) and (A8). That means for \(\left| \mathbf 0\right\rangle \) on the first register we have normalized \( Q_0 \left| \psi \right\rangle \) on the chosen states, and for \(\left| \mathbf 1\right\rangle \) we have \( Q_1 \left| \psi \right\rangle \), and so on. By applying the Hadamard gates to the first register, for \(\left| i\right\rangle = \left| \mathbf 0\right\rangle \), we generate the normalized summation \( \sum _i Q_i \left| \psi \right\rangle \) on the same chosen states.
Figure 3 is just the generalization of Fig. 2 and acts the same way.
Appendix C: A larger Hamiltonian divided into submatrices
Rights and permissions
About this article
Cite this article
Daskin, A., Bian, T., Xia, R. et al. Context-aware quantum simulation of a matrix stored in quantum memory. Quantum Inf Process 18, 357 (2019). https://doi.org/10.1007/s11128-019-2469-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11128-019-2469-1