Skip to content

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

@ahkatlio

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions