All Projects â†’ crazy4pi314 â†’ learn-qc-with-python-and-qsharp

crazy4pi314 / learn-qc-with-python-and-qsharp

Licence: MIT license
Companion code for Learn Quantum Computing with Python and Q# Book by Dr. Sarah Kaiser and Dr. Chris Granade 💖

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
Q#
14 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to learn-qc-with-python-and-qsharp

Quantum
Microsoft Quantum Development Kit Samples
Stars: ✭ 3,453 (+5469.35%)
Mutual labels:  quantum, quantum-computing, qsharp, quantum-development-kit
Quantum-Computing-Collection-Of-Resources
A Well Maintained Repository On Quantum Computing Resources [Code+Theory] Updated Regularly During My Time At IBM, Qubit x Qubit And The Coding School's Introduction To Quantum Computing Course '21
Stars: ✭ 183 (+195.16%)
Mutual labels:  quantum, quantum-computing, quantum-information, quantum-algorithms
unitaryhack
Rules and information for the 2021 unitaryHACK event hosted by @unitaryfund
Stars: ✭ 16 (-74.19%)
Mutual labels:  quantum, quantum-computing, quantum-information, quantum-algorithms
Quantum-Computing-Resources
This repository contains the best resources for learning practical quantum computing. This repository will be updated frequently.
Stars: ✭ 60 (-3.23%)
Mutual labels:  quantum, quantum-computing, quantum-information, quantum-algorithms
qibo
A framework for quantum computing with hardware acceleration.
Stars: ✭ 120 (+93.55%)
Mutual labels:  quantum, quantum-computing, quantum-algorithms
QuantumResources
A collection of resources for Quantum Computing
Stars: ✭ 43 (-30.65%)
Mutual labels:  quantum, quantum-computing, quantum-development-kit
qcl
Quantum Computation Language port from http://tph.tuwien.ac.at/~oemer/qcl.html
Stars: ✭ 29 (-53.23%)
Mutual labels:  quantum, quantum-computing, quantum-algorithms
Grove
Quantum algorithms built using pyQuil.
Stars: ✭ 332 (+435.48%)
Mutual labels:  quantum, quantum-computing, quantum-algorithms
Blueqat
Quantum Computer Library for Everyone
Stars: ✭ 298 (+380.65%)
Mutual labels:  quantum, quantum-computing, quantum-algorithms
Strawberryfields
Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
Stars: ✭ 505 (+714.52%)
Mutual labels:  quantum, quantum-computing, quantum-algorithms
Quantum-Machine-Learning
This repository contains implementations of Quantum Machine Learning algorithms, feature maps, variational circuits and research papers.
Stars: ✭ 47 (-24.19%)
Mutual labels:  quantum-computing, quantum-information, quantum-algorithms
algorithm-zoo
Implementations of algorithms from http://quantumalgorithmzoo.org/
Stars: ✭ 17 (-72.58%)
Mutual labels:  quantum, quantum-information, quantum-algorithms
launchpad
Resources to get started in Quantum Computing!
Stars: ✭ 21 (-66.13%)
Mutual labels:  quantum-computing, quantum-information, quantum-algorithms
Qpanda 2
QPanda 2 is an open source quantum computing framework developed by OriginQC that can be used to build, run, and optimize quantum algorithms.
Stars: ✭ 128 (+106.45%)
Mutual labels:  quantum, quantum-computing, quantum-algorithms
Quantum-Computer-Simulator-with-Algorithms
C++ simulator of quantum registers and quantum algorithms
Stars: ✭ 15 (-75.81%)
Mutual labels:  quantum, quantum-computing, quantum-algorithms
Teach Me Quantum
âš› 10 week Practical Course on Quantum Information Science and Quantum Computing - with Qiskit and IBMQX
Stars: ✭ 118 (+90.32%)
Mutual labels:  quantum, quantum-computing, quantum-algorithms
iqsharp
Microsoft's IQ# Server.
Stars: ✭ 112 (+80.65%)
Mutual labels:  quantum, qsharp, quantum-development-kit
neural-decoder
Neural Network Decoders for Quantum Error Correcting Codes
Stars: ✭ 19 (-69.35%)
Mutual labels:  quantum-computing, quantum-information
Interlin-q
A Quantum Interconnect Simulator for Distributed Quantum Algorithms
Stars: ✭ 32 (-48.39%)
Mutual labels:  quantum, quantum-computing
QuantumCircuitOpt.jl
A Julia/JuMP Package for Optimal Quantum Circuit Design
Stars: ✭ 45 (-27.42%)
Mutual labels:  quantum-computing, quantum-algorithms

Learn Quantum Computing with Python and Q#
Sample Code

Binder Prebuild Docker images

This repository provides sample code for Learn Quantum Computing with Python and Q# (Dr. Sarah Kaiser and Dr. Chris Granade, Manning Publications), available from Manning Publications, Amazon, and a variety of local resellers.

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

Getting Started with Code Samples

The samples for Chapters 2 through 6 are written in Python, while the examples in Chapters 7 and later are written in Q# and are called from either Python or by IQ# Notebooks. All samples can be run in one of two ways, depending on your preferences:

Anaconda

The Anaconda distribution of Python 3 provides the conda package manager to help you install and work with software written in Python. You can use conda and the Quantum Development Kit together to run all of the samples in this book.

Prerequisites:

Once you have all of the prerequisites installed, you can create a conda environment using the configuration provided in this repository:

conda env create -f environment.yml

This will provide all of the Python software you'll need to get started into a new conda environment called qsharp-book. To use this new environment, run conda activate qsharp-book.

If you would optionally like to use IQ# from outside of your conda environment, you can use the .NET Core SDK:

dotnet tool install --global Microsoft.Quantum.IQSharp
dotnet iqsharp install

This step is not required to use the samples shown in the book.

Using devcontainers

If you prefer, you can also use Visual Studio Code and Docker together to automatically configure all of the software required for use with the code samples in this book.

Prerequisites:

For more details about how to install and use Docker, check out Docker in Action, 2nd Edition.

Once you have all of the prerequisites installed, open the folder containing these samples in Visual Studio Code. You should then be prompted to reopen the folder in a development container; if not, press Ctrl+Shift+P (Windows and Linux) or ⌘+Shift+P (macOS) to open the command pallet and type "Reopen in Container." This will automatically download and install all software required for use with these samples into a Docker container, and will run Visual Studio Code within that new container.

Known issues:

  • When using a devcontainer, the plotting examples in Chapter 8 and 9 can only be run through Jupyter Notebook, not by running host.py from the command line.
  • To run Jupyter Notebook, use jupyter notebook --ip 0.0.0.0 rather than just jupyter notebook, so as to allow your host operating system to access the Notebook server.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].