Practicals

Tuesday - Tutorial

Wednesday - Thomas Ayral

Thursday - Yassine Hamoudi

  • The file for the practical

Saturday - Pierre-Alain Fouque

Some ressources

Videos

Documents

Softwares

Here is the list of softwares that will be used during the practicals of the summer school.

Installation instructions

The easiest way to install these softwares is to install a version of conda like miniforge : https://github.com/conda-forge/miniforge

Linux

Once miniforge is installed, open a terminal, create a new conda environment, and activate it.

> conda create --name cemracs2025 python=3.12
> conda activate cemracs2025


The prompt of your terminal should now start with "(cemracs2025)". Install MyQLM and Qiskit.

> conda install -c myqlm myqlm
> pip3 install anytree bitstring cvxpy dill jax[cpu] pyDOE pyOpenSSL qutip rich stim svgwrite thrift==0.21.0 wand
> pip3 install qiskit qiskit-aer
> conda install jupyter pylatexenc


Mac

Open a terminal, create a new conda environment, and activate it.

> conda create --name cemracs2025 python=3.12
> conda activate cemracs2025


The prompt of your terminal should now start with "(cemracs2025)". Install MyQLM and Qiskit.

> pip3 install myqlm
> pip3 install qiskit qiskit-aer
> conda install jupyter pylatexenc


Windows

You have two options:

  1. Use the WSL (Windows Subsystem for Linux) and follow the Linux instructions inside.
  2. Install the windows version of miniforge

For the pure Windows installation, once miniforge is installed, open the application called "Miniforge Prompt". In the opened terminal like window, create a new conda environment, and activate it.

> conda create --name cemracs2025 python=3.12
> conda activate cemracs2025


Install MyQLM and Qiskit.

> conda install -c myqlm myqlm
> pip3 install anytree bitstring cvxpy dill jax[cpu] pyDOE pyOpenSSL qutip rich stim svgwrite thrift==0.21.0 wand windows-curses
> pip3 install qiskit qiskit-aer
> conda install jupyter pylatexenc


You may need to add the option "--user" to the "pip3 install" command.

Test installation

Now you should be able to use MyQLM and Qiskit. If you want to use jupyter notebooks, start jupyter with the command "jupyter notebook". 

Here are two simple notebooks in order to check that the installation worked. Download them, open jupyter, and within jupyter navigate to where the notebooks are and open them :