-
Notifications
You must be signed in to change notification settings - Fork 57
Description
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
- Various "static" operation classes (of which there's not a particularly meaningful base class): StaticArbitraryOp, StaticCliffordOp, StaticStandardOp, and StaticUnitaryOp.
- ComposedOp
- EmbeddedOp
Error processes