Skip to content

Instantly share code, notes, and snippets.

View goerz's full-sized avatar

Michael Goerz goerz

View GitHub Profile
@goerz
goerz / SchirmerExtension.ipynb
Last active February 19, 2020 18:08
Schirmer Extension
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@goerz
goerz / README.rst
Created January 9, 2020 04:45
README test

Doctr Versions Menu

Source code on Github

Documentation

@goerz
goerz / 01_example_simple_state_to_state.ipynb
Created November 9, 2019 00:19
Example of using "args" in krotov package
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@goerz
goerz / simple_gate.ipynb
Last active October 27, 2019 23:57 — forked from TejasAvinashShetty/simple_gate.ipynb
modify simple state transfer notebook for Gate optimization
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@goerz
goerz / test.md
Last active February 7, 2020 23:22
Testing checkmarks in markdown

Build status

This repository illustrates a problem with the numpy conda package when run inside a tox environment (using tox-conda on Windows:

Trying to import numpy, e.g. with

python.exe -c "import numpy; print(numpy.__version__)"
@goerz
goerz / SchleierSmithThesis2011.tex
Created September 21, 2019 23:43
TOC for Monika Schleier-Smith's Thesis (https://dspace.mit.edu/handle/1721.1/68878)
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{pdfpages}
\usepackage[
pdfpagelabels=true,
pdftitle={Cavity-Enabled Spin Squeezing for a Quantum-Enhanced Atomic Clock},
pdfauthor={Monika Schleier-Smith},
unicode=true,
@goerz
goerz / BravermanThesis2018.tex
Last active September 21, 2019 23:41
TOC for Boris Braverman's Thesis (https://dspace.mit.edu/handle/1721.1/120364)
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{pdfpages}
\usepackage[
pdfpagelabels=true,
pdftitle={Cavity Quantum Electrodynamics with Ensembles of Ytterbium-171},
pdfauthor={Boris Braverman},
unicode=true,
]{hyperref}
@goerz
goerz / rtd_latest_warning.py
Created August 5, 2019 19:26
Sphinx plugin for inserting a warning on the "latest" version
"""Add a warning to the top of any documentation page for the "latest" version
on ReadTheDocs (RTD). Somewhat confusingly, "latest" is the latest development
version, not the latest release (which is stable).
Note that RTD has a builtin feature to show a similar warning on the
documentation of old releases. This can be enable in the Admin section on RTD,
under "Advanced Settings", "Show version warning"
"""
# This program is public domain
# Author: Michael Goerz
@goerz
goerz / pytest.log
Created July 16, 2019 01:22
Error messages for pytest on krotov package caused by update to qutip 4.4
.venv/py37/bin/isort --recursive --check-only src tests
Skipped 1 files
.venv/py37/bin/black --skip-string-normalization --line-length 79 --diff --check src tests
All done! ✨ 🍰 ✨
25 files would be left unchanged.
.venv/py37/bin/py.test -v --doctest-modules --cov=krotov --nbval --sanitize-with docs/nbval_sanitize.cfg --durations=10 -s src tests docs/notebooks/*.ipynb README.rst docs/*.rst
============================= test session starts ==============================
platform darwin -- Python 3.7.3, pytest-4.6.3, py-1.8.0, pluggy-0.12.0 -- /Users/goerz/Documents/Programming/github/krotov/.venv/py37/bin/python
cachedir: .pytest_cache
rootdir: /Users/goerz/Documents/Programming/github/krotov, inifile: setup.cfg
@goerz
goerz / pytest.log
Created July 16, 2019 01:22
Error messages for pytest on krotov package caused by update to qutip 4.4
.venv/py37/bin/isort --recursive --check-only src tests
Skipped 1 files
.venv/py37/bin/black --skip-string-normalization --line-length 79 --diff --check src tests
All done! ✨ 🍰 ✨
25 files would be left unchanged.
.venv/py37/bin/py.test -v --doctest-modules --cov=krotov --nbval --sanitize-with docs/nbval_sanitize.cfg --durations=10 -s src tests docs/notebooks/*.ipynb README.rst docs/*.rst
============================= test session starts ==============================
platform darwin -- Python 3.7.3, pytest-4.6.3, py-1.8.0, pluggy-0.12.0 -- /Users/goerz/Documents/Programming/github/krotov/.venv/py37/bin/python
cachedir: .pytest_cache
rootdir: /Users/goerz/Documents/Programming/github/krotov, inifile: setup.cfg