# Explicit demonstration of initial state construction in artificial neural networks using NetKet and IBM Q experience platform

- 80 Downloads

## Abstract

Quantum neural networks have gained significant interest in recent times for the representation of many-body states and classical simulation of quantum computation. Here, we discuss the methods to generate specific initial states in the Restricted Boltzmann Machines analogous to those used as the initial states while performing quantum computation in quantum computers such as IBM Q. We validate our approach by applying the Pauli X gate to the single-qubit and two-qubit initial states using NetKet and compare the results to that obtained by performing the same task in the IBM quantum computer. We find that using this approach, the RBM neural networks can represent desired quantum states with high accuracy. Thus, this method is promising to mimic quantum computation classically in neural networks by using specific initial states.

## Keywords

Quantum neural networks Restricted Boltzmann Machines Initial many-body states NetKet IBM quantum experience## Notes

### Acknowledgements

We gratefully acknowledge the discussions on using NetKet with Giuseppe Carleo, Developer Lead and Founder, NetKet. We also acknowledge the support of IBM quantum experience for producing experimental results. To the best of our knowledge, the explicit discussions on preparing initial states similar to that used in the quantum computers has not been published earlier, although significant amount of work has been done in this direction [5, 8, 10, 11]. A.P.D. is supported through KVPY fellowship and S.K. through Inspire fellowship, DST, Govt of India. A.P.D., S.K.S. and S.K. thank IISER Kolkata for providing hospitality during the course of the project. B.K.B. acknowledges the support of IISER-K Institute fellowship.

## Supplementary material

## References

- 1.Jia, Z.-A., Yi, B., Zhai, R., Wu, Y.-C., Guo, G.-C., Guo, G.-P.: Quantum neural network states: a brief review of methods and applications. Adv. Quantum Technol.
**2**, 1800077 (2019)CrossRefGoogle Scholar - 2.JDeng, D.-L., Li, X., Sarma, S.D.: Quantum entanglement in neural network states. Phys. Rev. X
**7**, 021021 (2017)Google Scholar - 3.Carleo, G., Troyer, M.: Solving the quantum many-body problem with artificial neural networks. Science
**355**, 602 (2017)ADSMathSciNetCrossRefGoogle Scholar - 4.Bjarni, J., Bela, B., Carleo, G.: Neural-network states for the classical simulation of quantum computing, arXiv e-prints arXiv:1808.05232v1 (2018)
- 5.D-Wave System Documentation, Getting Started with the D-Wave System, https://docs.dwavesys.com/docs/latest/doc_getting_started.html
- 6.Carleo, G., et al.: NetKet: a machine learning toolkit for many-body quantum systems. SoftwareX
**10**, 100311 (2019)CrossRefGoogle Scholar - 7.Gardas, B., Rams, M.M., Dziarmaga, J.: Quantum neural networks to simulate many-body quantum systems. Phys. Rev. B
**98**, 184304 (2018)ADSCrossRefGoogle Scholar - 8.Gao, X., Duan, L.-M.: Efficient representation of quantum many-body states with deep neural networks. Nat. Commun.
**8**, 662 (2017)ADSCrossRefGoogle Scholar - 9.IBM Quantum Experience, URL: https://quantum-computing.ibm.com/
- 10.Rous, N.L., Bengio, Y.: Representational power of restricted Boltzmann machines and deep belief networks. Neural Comput.
**20**, 1631 (2008)MathSciNetCrossRefGoogle Scholar - 11.Freund, Y., Haussler, D.: Unsupervised learning of distributions on binary vectors using two layer networks. In: Advances in Neural Information Processing Systems 4 (NIPS 1991)Google Scholar