Skip to content

Instantly share code, notes, and snippets.

View splch's full-sized avatar

Spencer Churchill splch

View GitHub Profile
@splch
splch / uci_reply.py
Created October 7, 2020 23:37
automatically reply to uci's daily emails
#!/usr/bin/env python
# coding: utf-8
'''
pip install imap_tools lxml
apt install libxslt-dev
'''
# read
@splch
splch / Quantum Teleportation.ipynb
Last active November 16, 2020 06:43
Circuit for Quantum Teleportation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@splch
splch / Deutsch-Jozsa Algorithm.ipynb
Created November 16, 2020 08:13
Circuit for Quantum Teleportation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@splch
splch / Shor's Algorithm.ipynb
Last active November 16, 2020 09:14
Circuit for Shor's Algorithm
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@splch
splch / Grover's Algorithm.ipynb
Last active November 19, 2020 05:13
Circuit for Grover's Algorithm
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@splch
splch / start_linux.sh
Last active July 29, 2021 22:18
script for setting up my linux machine
#!/bin/bash
# add signal repo
curl https://updates.signal.org/desktop/apt/keys.asc -o keys.asc
sudo apt-key add keys.asc
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list
rm keys.asc
# add usability repos
sudo add-apt-repository multiverse
@splch
splch / Qiskit_Pulse_Visualizations.ipynb
Last active July 24, 2023 00:47
Using Qiskit Pulse to create a custom gate, display that gate's microwave, then execute the circuit with a pulse simulator.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@splch
splch / Quantum_Random_Number.ipynb
Last active July 15, 2021 04:01
Basic QRNG Implementation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@splch
splch / install-wine-runner.sh
Last active September 8, 2021 03:18
Open Windows EXE from Chrome OS File Manager
#!/bin/bash
mkdir -p $HOME/bin/
cat > $HOME/bin/wine-runner.sh <<EOF
#!/bin/bash
NAME=\$(basename \$1 | cut -f 1 -d ".")
echo "Windows Executable: \$NAME.exe"
@splch
splch / .vimrc
Last active February 24, 2022 06:26
my simple vim config file
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on