scqubits.core.circuit.truncation_template#

scqubits.core.circuit.truncation_template(system_hierarchy, individual_trunc_dim=6, combined_trunc_dim=50)[source]#

Function to generate a template for defining the truncated dimensions for subsystems when hierarchical diagonalization is used.

Parameters
  • system_hierarchy (list) – list which sets the system hierarchy

  • individual_trunc_dim (int) – The default used to set truncation dimension for subsystems which do not use hierarchical diagonalization, by default 6

  • combined_trunc_dim (int) – The default used to set the truncated dim for subsystems which use hierarchical diagonalization, by default 50

Return type

list

Returns

The template for setting the truncated dims for the Circuit instance when hierarchical diagonalization is used.