supergrad.quantum_system.parse_interaction

supergrad.quantum_system.parse_interaction#

supergrad.quantum_system.parse_interaction(**kwargs)[source]#

Parse subsystem_list and keyword arguments, specify the interaction between subsystems constructing the InteractionTerm. Here we try to provide a similar input format as the add_interaction function of scqubits.

Examples

parse_interaction(strength=<float>,

op1=<Callable>, op2=<Callable>, …, add_hc=<bool>, name=<str>)

Parameters:
  • strength – coefficient parametrize the interaction strength, set None if you want to pass parameters by dm-haiku.

  • op* (callable) – subsystems operators

  • add_hc – Default is False. If set to True, the Hermitian conjugate is added.

  • name – module name