10.4. Simulators and result evaluation

This tutorial demonstrates how to use the simulator interface, how to extract performances from simulation results, and how to plot the simulation results without doing all of the cumbersome MatPlotLib stuff. It also demonstrates how to construct an aggregate cost function from the evaluated performances. The resulting const function can then be minimized with an arbitrary optimization algorithm to find a better circuit. The response of the circuit can be plotted during an optimization run so one can see how the circuit is improving.