Skip to content

Update Hamilton from system component classes #2

@taw181

Description

@taw181

Right now if any parameter changes the whole system is rebuilt. Instead, system component classes such as lasers could call methods of the atom system class to only rebuild the affected part of the Hamiltonian.

This would probably be done through property setters.

The time saved is small relative to the time taken to solve the system but for large parameter scans it could add up to something non-negligible. To be tested. Either way, it's neater

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions