Skip to content

AtomsCalculators.jl interface#68

Merged
Alexsp32 merged 5 commits intomainfrom
atomsbase-integration
Mar 4, 2026
Merged

AtomsCalculators.jl interface#68
Alexsp32 merged 5 commits intomainfrom
atomsbase-integration

Conversation

@Alexsp32
Copy link
Copy Markdown
Member

@Alexsp32 Alexsp32 commented Feb 16, 2026

JuliaMolSim has built a Calculator framework to work with AtomsBase and similar packages. We should be able to convert back and forth between the two.

  • Add a new model type for anything implementing AtomsCalculators.jl’s high-level interface.
  • Generate an AtomsCalculators interface for all NQCModels.ClassicalModel types.
  • Unit tests for a computationally efficient example.
  • Create an entry in the full size models page about interoperability with AtomsCalculators.
  • Create a separate documentation page with examples of forward and back integration with AtomsCalculators.jl.

@Alexsp32
Copy link
Copy Markdown
Member Author

@copilot Please finish the remaining two points in the PR description.

Copy link
Copy Markdown

Copilot AI commented Feb 24, 2026

@Alexsp32 I've opened a new pull request, #69, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Contributor

@htsnowden htsnowden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like cool functionality. It seems like you have made a new model. Do you also want to embed current models to allow for the interface to work on all current models?

@Alexsp32
Copy link
Copy Markdown
Member Author

Alexsp32 commented Mar 4, 2026

Yep, the PR includes conversion in both directions, so anything Classical now also has compatibility with AtomsCalculators.jl / AtomsBase.

I didn't do this for QuantumModels because I'm not aware of a standard for how to return multi-state energies and forces, but you could get single states from a QuantumModel with the AdiabaticStateSelector.

@Alexsp32 Alexsp32 merged commit 609ae98 into main Mar 4, 2026
1 check passed
@Alexsp32 Alexsp32 deleted the atomsbase-integration branch March 4, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants