Skip to content

unitaryfund/qce24-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IEEE Quantum Week 2024 Mitiq Tutorial

The readme of this repo contains instructions for how to setup your code environment. The slides for both parts of the tutorial are available here.

Setup

To set up the environment for the Jupyter notebooks, please choose from one of the following options:

Locally

  1. Clone this repository to your local machine.

    git clone https://github.com/unitaryfund/qce24-tutorial.git
    cd qce24-tutorial
    
  2. Install the necessary requirements into an existing Python environment or create a new Python environment and then install the requirements.

    pip install mitiq
    

Virtually

To run the notebooks virtually, you can use Codespaces: To use Codespaces, an active Github account is required.

  1. In the repository, select the green Code button, switch to the Codespaces tab, and click the Create codespace on main button.

image

  1. When Codespaces has loaded, select the first Jupyter notebook, part1_zne.ipynb from the repository files on the left.

  2. At the bottom of the screen a pop-up will recommend installing Python. Click the Install button.

  3. When python has finished installing, close the Extension: Python tab to return to the part1_zne.ipynb notebook.

image

  1. On the right side of the notebook, click Select Kernel and then choose Install/Enable suggested extensions Python + Jupyter image

  2. After the extensions finish installing, select Python Environments... and then Python 3.12.1 ~/.python/current/bin/python from the Select Another Kernel window.

  3. With the Python environment setup, run the %pip install mitiq code block to install Mitiq into the Python environment.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published