QTechTheory / QuESTlink

A Mathematica package for multithreaded and GPU simulation of quantum computers
https://questlink.qtechtheory.org/
MIT License
30 stars 4 forks source link

enabled P to pass outcomes in list #182

Closed TysonRayJones closed 1 year ago

TysonRayJones commented 1 year ago

Previously, the projector operator specified its per-qubit outcomes as separate arguments, like P[outcome1, outcome2, ...]

Now, these outcomes can also be wrapped in a list, convenient for programmatically produced outcomes. I.e. P[{outcome1, outcome2, ...}]