Skip to content
Companion code for Learn Quantum Computing with Python and Q# textbook
Python Jupyter Notebook C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ch02
ch03
ch04
ch05
ch06
ch07/DeutschJozsa
ch08
.gitignore
LICENSE
README.md

README.md

Learn Quantum Computing with Python and Q#
Sample Code

This repository provides sample code for Learn Quantum Computing with Python and Q# (Dr. Sarah Kaiser and Chris Granade, Manning Publications), currently in Manning Early Access Preview.

Below, we provide some instructions on getting started with each sample; please see Appendix A (coming soon) for more details.

Getting Started with Python

The examples for Chapters 2 through 5 are written in Python. To run these examples, we recommend the Anaconda distribution of Python 3. Once you have installed Anaconda, you can create a Conda environment to run the sample code in by running the following command:

conda create -n=quantum -c conda-forge python>=3.6 ipython numpy matplotlib notebook qutip

Getting Started with Q#

The examples in Chapters 6 through 11 are written in Q#, a new quantum programming language from Microsoft. To run these examples, please follow the Getting Started with Jupyter Notebooks provided with Microsoft's Quantum Development Kit.

You can’t perform that action at this time.