Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Add Sparse Simulator Samples #612

Open
kuzminrobin opened this issue Feb 23, 2022 · 6 comments
Open

Add Sparse Simulator Samples #612

kuzminrobin opened this issue Feb 23, 2022 · 6 comments

Comments

@kuzminrobin
Copy link
Contributor

kuzminrobin commented Feb 23, 2022

Repo: https://github.com/microsoft/Quantum
Dir: https://github.com/microsoft/Quantum/tree/main/samples

Demo: http://aka.ms/try-qsharp
Consider:

@tcNickolas
Copy link
Member

The first bullet on the list is complete, 7aa6881 updated Sudoku solver sample to use sparse simulator instead of the full state simulator.

@cgranade
Copy link
Contributor

@kuzminrobin: Was there any other work that you were suggesting as part of this feature request, or can this be closed? Thank you!

@tcNickolas
Copy link
Member

I imagine #713 and its counterpart for IonQ will contribute to this as well, since they'll show up in the gallery.

@kuzminrobin
Copy link
Contributor Author

@cgranade,
I believe the last bullet item (with 2 sub-bullets) is still TODO (something that can be done).
However the LT is considering making the sparse simulator a default simulator (and fully dropping the full-state simulator). After which the last bullet item will stop being applicable.

@tcNickolas
Copy link
Member

Oddly enough, I've found one case on which the sparse simulator was significantly slower than the full state one. If that's of interest, I try to dig up the example at the end of this week. So maybe dropping the full state sim completely is excessive?

@kuzminrobin
Copy link
Contributor Author

Would be nice to get more details about "significantly slower". We know that one of the perf tests shows that the SS is about 6 times slower than FSS for the case of dense state. Management's opinion is close to "we can live with that".
The deprecation of FSS is caused by the fact that the support burden is high for FSS (from the recent discussion with @bettinaheim).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants