Dancing with Python
eBook - ePub

Dancing with Python

Learn Python software development from scratch and get started with quantum computing

  1. 744 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Dancing with Python

Learn Python software development from scratch and get started with quantum computing

About this book

Develop skills in Python and Quantum Computing by implementing exciting algorithms, mathematical functions, classical searching, data analysis, plotting data, machine learning techniques, and quantum circuits.

Key Features

  • Create quantum circuits and algorithms using Qiskit and run them on quantum computing hardware and simulators
  • Learn the Pythonic way to write elegant and efficient code
  • Delve into Python's advanced features, including machine learning, analyzing data, and searching

Book Description

Dancing with Python helps you learn Python and quantum computing in a practical way. It will help you explore how to work with numbers, strings, collections, iterators, and files.

The book goes beyond functions and classes and teaches you to use Python and Qiskit to create gates and circuits for classical and quantum computing. Learn how quantum extends traditional techniques using the Grover Search Algorithm and the code that implements it. Dive into some advanced and widely used applications of Python and revisit strings with more sophisticated tools, such as regular expressions and basic natural language processing (NLP). The final chapters introduce you to data analysis, visualizations, and supervised and unsupervised machine learning.

By the end of the book, you will be proficient in programming the latest and most powerful quantum computers, the Pythonic way.

What you will learn

  • Explore different quantum gates and build quantum circuits with Qiskit and Python
  • Write succinct code the Pythonic way using magic methods, iterators, and generators
  • Analyze data, build basic machine learning models, and plot the results
  • Search for information using the quantum Grover Search Algorithm
  • Optimize and test your code to run efficiently

Who this book is for

The book will help you get started with coding for Python and Quantum Computing. Basic familiarity with algebra, geometry, trigonometry, and logarithms is required as the book does not cover the detailed mathematics and theory of quantum computing. You can check out the author's Dancing with Qubits book, also published by Packt, for an approachable and comprehensive introduction to quantum computing.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Dancing with Python by Robert S. Sutor in PDF and/or ePUB format, as well as other popular books in Computer Science & Object Oriented Programming. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Preface
  2. Chapter 1: Doing the Things That Coders Do
  3. Part I: Getting to Know Python
  4. Chapter 2: Working with Expressions
  5. Chapter 3: Collecting Things Together
  6. Chapter 4: Stringing You Along
  7. Chapter 5: Computing and Calculating
  8. Chapter 6: Defining and Using Functions
  9. Chapter 7: Organizing Objects into Classes
  10. Chapter 8: Working with Files
  11. PART II: Algorithms and Circuits
  12. Chapter 9: Understanding Gates and Circuits
  13. Chapter 10: Optimizing and Testing Your Code
  14. Chapter 11: Searching for the Quantum Improvement
  15. PART III: Advanced Features and Libraries
  16. Chapter 12: Searching and Changing Text
  17. Chapter 13: Creating Plots and Charts
  18. Chapter 14: Analyzing Data
  19. Chapter 15: Learning, Briefly
  20. Appendices
  21. Appendix A: Tools
  22. Appendix B: Staying Current
  23. Appendix C: The Complete UniPoly Class
  24. Appendix D: The Complete Guitar Class Hierarchy
  25. Appendix E: Notices
  26. Appendix F: Production Notes
  27. References
  28. Other Books You May Enjoy
  29. Index