Custom Circuits#
The Circuit
class provides functionality for the symbolic and numerical analysis of custom circuits.
For a custom circuit, the code
identifies the periodic and extended degrees of freedom,
eliminates the free and frozen modes.
With this, the symbolic expression of the Hamiltonian is generated in terms of an appropriate choice of variables. The Circuit
class also performs the numerical diagonalization of the circuit Hamiltonian. Hierarchical diagonalization can be enabled for better runtime/memory perfomance.