XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
737 stars 187 forks source link

Support for multiple shots in Fock backend #678

Open thisac opened 2 years ago

thisac commented 2 years ago

Before posting a feature request

Feature details

The Fock backend does not currently support multiple shots for any type of measurement. Each measurement raises an NotImplementedError when shots != 1 (see e.g., these lines).

Implementation

No response

How important would you say this feature is?

1: Not important. Would be nice to have.

Additional information

Related issue/discussion: #333.