Encoding of Qubit States in Resonators With Cat Codes A Proof of Concept for Numerically Optimizing Encoding Pulses Using Krotov’s Method Latex code for my Master's thesis report. Report PDF: Thesis.pdf Source code and data: cat-state-encoding