This is the code repository for Dancing-with-Python, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
Coding is the art and engineering of creating software, and Python has been one of the core coding languages for many years. This introductory Python book helps you learn classical and quantum computing in a unified and 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 classical 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 classical coding and programming the latest and most powerful quantum computers.
- Doing the Things that Coders Do
- Working with Expressions
- Collecting Things Together
- Stringing You Along
- Computing and Calculating
- Defining and Using Functions
- Organizing Objects into Classes
- Working with Files
- Understanding Gates and Circuits
- Optimizing and Testing Your Code
- Searching for the Quantum Improvement
- Searching and Changing Text
- Creating Plots and Charts
- Analyzing Data
- Learning Briefly
- Appendix A Tools
- Appendix B. Staying current
- Appendix C. The Complete UniPoly Class
- Appendix D. The Complete Guitar Class Hierarchy
- Appendix E. Notices
- Appendix F. Production Notes
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.