Skip to content

Optimize the step algorithm for the Ising model #3

@jkglasbrenner

Description

@jkglasbrenner

Overview

The most time intensive computation of the Ising model is sweeping over the spin sites, which is currently a set of nested for loops. Using Numpy's vectorization capabilities, we should be able to cut the computation time down by a significant margin.

Working branch

3-optimize-the-step-algorithm-for-the-ising-model

Deliverables

  • New methods in the Ising class that employ vectorization for the spin site sweeps instead of nested for loops.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions