Sample code for "Roll Your Own Circuit Simulator" lightning talk at CppCon