This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: "JuliaMono"; | |
font-style: normal; | |
font-weight: 200; | |
font-feature-settings: "liga" 0, "calt" 0; | |
font-variant-ligatures: none; | |
src: url("https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.056/JuliaMono-Light.woff2"); | |
} | |
@font-face { | |
font-family: "JuliaMono"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
black = '#000000'; | |
red = '#B9211B'; | |
green = '#429429#'; | |
yellow = '#96942D'; | |
blue = '#081B90'; | |
magenta = '#8A2E90'; | |
cyan = '#419295'; | |
white = '#C7C7C7'; | |
lightBlack = '#686868'; | |
lightRed = '#ED776D'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assumptions | |
# | |
# * current working directory is the root directory of the project ("DocInventories") in this case | |
# * the documentation for the project has been built locally in `docs/build/` | |
# * the documentation has also been deployed online and is available at the `root_url` hard-coded in the script. Otherwise, do not call `check_url` | |
# * running on Unix (otherwise: adjust that path separator) | |
using HTTP | |
using URIs | |
using DocInventories |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This MWE is to explore the use of RecursiveArrayTools for optimizing | |
# parameters for control functions. | |
# | |
# We want two things: | |
# | |
# * Extract control parameters that might occur in a set of Hamiltonians, each | |
# Hamiltonian containing multiple controls, and each control containing an | |
# AbstractVector of parameters (a ComponentArray seems very useful, but it | |
# could be any AbstractVector). This should be done with a function | |
# `get_parameters()` that collects all control parameters in a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Pkg | |
Pkg.activate(temp=true) | |
Pkg.add("MarkdownAST") | |
import MarkdownAST | |
""" | |
replace(f::Function, root::Node) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Luxor, Thebes, MathTeXEngine | |
function frame(scene, framenumber) | |
background("white") | |
sethue("black") | |
fontsize(15) | |
eased_n = scene.easingfunction(framenumber, 0, 1, scene.framerange.stop) | |
helloworld() | |
eyepoint(200, 200, 100) | |
setline(0.5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Include this file in a devrepl of | |
module TransmonModel | |
using LinearAlgebra | |
using SparseArrays | |
using QuantumControl.Shapes: flattop | |
const GHz = 2π | |
const MHz = 0.001GHz | |
const ns = 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""Extract textblocks from a Beamer presentation. | |
This is useful for making Powerpoint slides from Beamer presentations. | |
""" | |
import logging | |
import click | |
from pathlib import Path | |
PREAMBLE = r"""\documentclass[compress, aspectratio=169]{beamer} |
NewerOlder