Skip to content

https://github.com/scqubits/scqubits-examples/blob/master/examples/demo_legacy_explorer.ipynb #12

Description

@ahkatlio

Define the interaction term

interaction_term = InteractionTerm(
g_strength=0.2,
operator_list=[(0, qbt.n_operator()), (1, osc.creation_operator() + osc.annihilation_operator())]
)

Define the subsystem list

subsystem_list = [qbt, osc]

Get the Hamiltonian

hamiltonian = interaction_term.hamiltonian(subsystem_list)

Print the Hamiltonian

print(hamiltonian)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions