Closed kareem1925 closed 2 years ago
Thanks @kareem1925. This is a good spot for us to discuss any potential bugs in the SF code (i.e., if you're not seeing the right number of shots that you expect). We can't guarantee any support for research questions here though. For the benefit of future viewers, can you edit your issue to focus up-front on the potential observed bug? Thanks :smile:
Hi @kareem1925, the number of shots to run a program with are runtime options, so they are passed in eng.run()
, not when creating the backend:
results = eng.run(dist, run_options={"shots": 5000})
Unfortunately, the Fock backend does not currently support multiple shots! This is something we are working to support, and hopefully should have this available soon.
Closed in favour of #678.
Issue description
The code above is an implementation of this figure:
I just want to know if I’m correct with my code and also how I can interpret the outcome as stated in the paper. I also want to know why the number of the samples is just one and I set the shots to 5000
According to this discussion I am requesting an explanation for the number of shots in both the gaussian and fock spaces. This is the paper I'm trying to implement