-
Couldn't load subscription status.
- Fork 30
add measurement windows for pulse arithmetic #577
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
add measurement windows for pulse arithmetic #577
Conversation
Pull Request Test Coverage Report for Build 2302
💛 - Coveralls |
Pull Request Test Coverage Report for Build 2302
💛 - Coveralls |
|
What is you usecase for However, I think that there are some inconsistencies here. I am unsure why there is an implementation for If you need a function to collect all measurements that are defined by a |
|
@terrorfisch I don't really have a use case, I just got an error when I used pulse arithmetic related to the missing |
|
@terrorfisch The pulse that triggered the error was: The error was triggered by plotting the pulse. |
|
Ah, I think I understand the problem now and I created an issue for the underlying cause #578. Thank you for uncovering this and the fix! Can you add this to the method to avoid that new external code will depend on it? if not getattr(inspect.getmodule(inspect.stack()[1][0]), '__name__', '').startswith('qupulse'):
warnings.warn("This is only a hack until https://github.com/qutech/qupulse/issues/578 is resolved. "
"Do not call this method directly", category=DeprecationWarning, stacklevel=2) |
|
@terrorfisch Done! |
We combine the measurement windows from the
lhsandrhsif these are templates. For expressions or numbers there are no windows.@terrorfisch