Skip to content
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 an evaluate_mappings function to PulseTemplate #800

Open
shumpohl opened this issue Oct 4, 2023 · 0 comments
Open

Add an evaluate_mappings function to PulseTemplate #800

shumpohl opened this issue Oct 4, 2023 · 0 comments
Assignees
Labels
Framework integration Covers the integration of qupulse in measurement and experimental frameworks Implementation Priority: Optional

Comments

@shumpohl
Copy link
Member

shumpohl commented Oct 4, 2023

A user that wants to set a parameter to a specific value or map a channel name uses a MappingPT either directly or with the with-mapping method. This is very useful for composite pulse templates where the named components are serialized in individially and can be independently changed.

However, this introduces an overhead for runtime generated and evaluated pulse templates where this functionality is not needed. This issue proposes a method evaluate_mappings which returns a new pulse template without MappingPTs which do not introduce new parameters.

def evaluate_mappings(self, parameters=None, channel_mapping=None, measurement_mapping=None):
    ...
@shumpohl shumpohl added Priority: Optional Implementation Framework integration Covers the integration of qupulse in measurement and experimental frameworks labels Oct 4, 2023
@shumpohl shumpohl self-assigned this Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework integration Covers the integration of qupulse in measurement and experimental frameworks Implementation Priority: Optional
Projects
None yet
Development

No branches or pull requests

1 participant