Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Latest commit

 

History

History
54 lines (38 loc) · 1.91 KB

File metadata and controls

54 lines (38 loc) · 1.91 KB
page_type languages products description urlFragment
sample
qsharp
python
qdk
This sample demonstrates how to use Q# to write variational quantum algorithms.
variational-quantum-algorithms

Implementing variational quantum algorithms in Q#

This sample demonstrates:

  • How variational quantum algorithms use classical and quantum computation together to solve problems.
  • How to use Q# and QuTiP together to estimate the energy of different quantum states.
  • Using Q# to implement the variational quantum eigensolver.

Prerequisites

This sample is designed to work with the conda environment specified by environment.yml. To create this environment:

conda env create -f environment.yml

Running the Sample

This sample can be run as a Jupyter Notebook:

conda activate variational
jupyter notebook

Manifest

References

Further resources