Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Quantum Chemistry and Computing for the Curious

You're reading from  Quantum Chemistry and Computing for the Curious

Product type Book
Published in May 2022
Publisher Packt
ISBN-13 9781803243900
Pages 354 pages
Edition 1st Edition
Languages
Authors (3):
Alex Khan Alex Khan
Profile icon Alex Khan
Keeper L. Sharkey Keeper L. Sharkey
Profile icon Keeper L. Sharkey
Alain Chancé Alain Chancé
Profile icon Alain Chancé
View More author details

Table of Contents (14) Chapters

Preface 1. Chapter 1: Introducing Quantum Concepts 2. Chapter 2: Postulates of Quantum Mechanics 3. Chapter 3: Quantum Circuit Model of Computation 4. Chapter 4: Molecular Hamiltonians 5. Chapter 5: Variational Quantum Eigensolver (VQE) Algorithm 6. Chapter 6: Beyond Born-Oppenheimer 7. Chapter 7: Conclusion 8. Chapter 8: References
9. Chapter 9:Glossary
10. Other Books You May Enjoy Appendix A: Readying Mathematical Concepts 1. Appendix B: Leveraging Jupyter Notebooks on the Cloud 2. Appendix C: Trademarks

4.8. Constructing a qubit Hamiltonian operator with Qiskit Nature

This section shows how to construct a qubit Hamiltonian operator with Qiskit Nature for the hydrogen molecule and the lithium hydride molecule.

We define the fermion_to_qubit() function to convert a fermionic operator to a qubit operator, which has the following input parameters:

  • f_op, a fermionic operator obtained as explained in Section 4.6, Constructing a fermionic Hamiltonian with Qiskit Nature
  • mapper, either "Jordan-Wigner" or "Parity" or "Bravyi-Kitaev"
  • truncate, an integer to truncate the display of the Pauli list, which can be very large; set to 20 items by default
  • two_qubit_reduction, Boolean, by default False, that determines whether to carry out two-qubit reduction when possible
  • z2symmetry_reduction, by default None, that indicates whether a Z2 symmetry reduction should be applied to resulting qubit operators that are computed based on mathematical symmetries...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}