-
Notifications
You must be signed in to change notification settings - Fork 56
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
Fiducial generation does not work with pspec-generated explicit models #246
Comments
TL;DR: Use the line More details: Building a model from pspecs defaults to storing the operations as unitaries. However, fiducial/germ selection algorithms expect the model to be superoperators, and we actually usually use the TP parameterization most of the time (although other superoperator parameterizations like Probably the only necessary bugfix here is a better error message. |
@sserita , thank you! This makes sense to me. Are there any other switches that I should be aware of to get the pspec-created explicit models to behave the same as the expression-created explicit models? |
No I think the default gate parameterization is the biggest difference. Technically the expression-created models have a |
An error message has been added to suggest the correct model parameterization, will be included in the next release. |
Closed as this is now in 0.9.11 release |
Describe the bug
When attempting to generate fiducials based on a target model generated from a processor specification, I get a matrix size error.
To Reproduce
gives
Expected behavior
I expected the fiducial sequences to be generated.
Environment (please complete the following information):
Additional context
Note that this issue appears to be due to something going on with the shape method on
StaticUnitaryOp
objects:gives
(2,2)
, butgives
(4,4)
(expected).The text was updated successfully, but these errors were encountered: