Skip to content

Forward simulation on the GPU #607

@rileyjmurray

Description

@rileyjmurray

PR #390 added preliminary support for PyTorch-backed forward simulation. There's pending follow-up work in PR #613. All of this work so far has been to explore PyTorch's automatic-differentiation features. In principle, this work could be extended to do forward simulation on the GPU. This GitHub issue outlines changes we'd need for such forward simulation to be useful.

TorchForwardSimulator is currently limited to ExplicitOpModels whose members are all in the "full TP" parameterization. In order to make PyTorch-enabled GPU computations truly useful we'd need to extend TorchForwardSimulator to ImplicitOpModels and, we'd need to update several ModelMember classes to implement the Torchable API.

Here are the classes that need to implement the Torchable API.

POVMs

States

Gates

Error processes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for a new feature or a change to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions