https://github.com/juliaquantumcontrol/juliacon2023-demo
Example Notebook for JuliaCon 2023 talk "Quantum Dynamics and Control with QuantumControl.jl"
https://github.com/juliaquantumcontrol/juliacon2023-demo
Last synced: 7 months ago
JSON representation
Example Notebook for JuliaCon 2023 talk "Quantum Dynamics and Control with QuantumControl.jl"
- Host: GitHub
- URL: https://github.com/juliaquantumcontrol/juliacon2023-demo
- Owner: JuliaQuantumControl
- Created: 2023-07-26T03:49:03.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-30T03:36:18.000Z (about 2 years ago)
- Last Synced: 2025-02-11T19:40:40.808Z (9 months ago)
- Language: Jupyter Notebook
- Homepage: https://michaelgoerz.net/#GoerzJuliaCon2023Talk
- Size: 3.41 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quantum Dynamics and Control with QuantumControl.jl – Example: Optimization of a Perfectly Entangling Quantum Gate
[](https://mybinder.org/v2/gh/JuliaQuantumControl/JuliaCon2023-Demo/master?filepath=perfect_entanglers.ipynb)
[](https://nbviewer.org/github/JuliaQuantumControl/JuliaCon2023-Demo/blob/master/perfect_entanglers.ipynb)
This [example notebook](https://nbviewer.org/github/JuliaQuantumControl/JuliaCon2023-Demo/blob/master/perfect_entanglers.ipynb) was shown in the talk [Quantum Dynamics and Control with QuantumControl.jl
](https://michaelgoerz.net/#GoerzJuliaCon2023Talk) ([Slides](https://github.com/JuliaQuantumControl/JuliaCon2023-Slides)) at JuliaCon 2023.
[](https://www.youtube.com/watch?v=GgA8qPGifJ8 "Quantum Dynamics and Control with QuantumControl.jl")
It is a based on the example available at https://juliaquantumcontrol.github.io/GRAPE.jl/stable/examples/perfect_entanglers/
## System Prerequisites
* [Jupyter Notebook or Lab](https://jupyter.org) with the [Jupytext](https://jupytext.readthedocs.io/en/latest/) extension. The recommended installation method is via [Miniforge](https://github.com/conda-forge/miniforge).
* [Julia 1.9.2](http://julialang.org) with [IJulia](https://github.com/JuliaLang/IJulia.jl). To install the appropriate Julia kernel, run
```
using IJulia; installkernel("Julia", "--threads=auto", "--project=@.")
```
in the `julia` REPL.
## Project Instantiation
```
> julia --project=.
julia> using Pkg
julia> Pkg.instantiate()
```
## Running the Notebook
Start a Jupyter Notebook or Jupyter Lab instance, and open the [`perfect_entanglers.ipynb`](perfect_entanglers.ipynb) file. With the Jupytext extension, you can also directly open the [`perfect_entanglers.jl`](perfect_entanglers.jl) file.
Alternatively to using Jupyter, you may also just run the `.jl` file or execute it line-by-line e.g. with [Visual Studio Code](https://code.visualstudio.com).