Skip to content

Instantly share code, notes, and snippets.

View eddieschoute's full-sized avatar

Eddie Schoute eddieschoute

View GitHub Profile
@eddieschoute
eddieschoute / concat_remux.sh
Created March 13, 2019 21:08
A bash script to remux and concatenate all given input files to an output file. I use it to create one .mp4 from multiple .ts files from a camcorder.
#!/bin/bash
# Is ffmpeg installed
if ! [ -x "$(command -v ffmpeg)" ]; then
echo "ffmpeg is not installed, exiting now"
exit 1
fi
OUTPUT=$1
shift
@eddieschoute
eddieschoute / gates.py
Last active April 2, 2018 14:30
Gate hierarchy for qiskit
class Gate:
def apply(self, circuit: BaseQuantumCircuit) -> None
def qasm(self) -> String
class InvertibleGate(Gate):
def inverse(self) -> InvertibleGate
class HGate(InvertibleGate):
implementation...