Improving the plot of expected energy levels in the python interface by scaling the vertical axis according to the actual max value, instead of assuming it is 1. Also added an example script showing how to add guard levels in the Hamiltonian when optimizing for a CNOT gate.
Improving the plot of expected energy levels in the python interface by scaling the vertical axis according to the actual max value, instead of assuming it is 1. Also added an example script showing how to add guard levels in the Hamiltonian when optimizing for a CNOT gate.