-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FLOYao no support for nbatch #9
Comments
So far What do you want the feature for? Maybe it is easier to just have a vector of |
I honestly just wanted the feature so that my code could be cleaner. Unless batch simulation of many states in parallel is significantly faster than evolving each state through the circuit one-by-one, it's fine for now. For what it's worth, I implemented your suggestion and it worked; see the below MWE:
|
In Yao, the
zero_state
function supports an optional parameternbatch
, whereasFLOYao.zero_state
does not (see example below).Is there a way to implement the nbatch in FLOYao?
The text was updated successfully, but these errors were encountered: