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

Assignment of parameters in pulse Schedule/ScheduleBlock doable through parameter name #12088

Merged

Commits on Apr 26, 2024

  1. Added possibility of assigning Parameter and ParameterVector by name

    It is now possible to specify in the mapping the names of the parameters instead of the parameters themselves to assign parameters to pulse `Schedule`s and `ScheduleBlock`s. It is even possible to assign all the parameters of a ParameterVector by just specifying its name and setting as a value a list of parameter values.
    arthurostrauss committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    bc709af View commit details
    Browse the repository at this point in the history
  2. Update parameter_assignment_by_name_for_pulse_schedules-3a27bbbbf235f…

    …b9e.yaml
    
    Co-authored-by: Will Shanks <wshaos@posteo.net>
    arthurostrauss and wshanks committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d594fa2 View commit details
    Browse the repository at this point in the history
  3. Reshaped string parameter assignment

    Corrected mistake in string assignment
    
    Corrected mistake in string assignment
    arthurostrauss committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d91f0e0 View commit details
    Browse the repository at this point in the history
  4. Update releasenotes/notes/parameter_assignment_by_name_for_pulse_sche…

    …dules-3a27bbbbf235fb9e.yaml
    
    Co-authored-by: Will Shanks <wshaos@posteo.net>
    arthurostrauss and wshanks committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    6500e1b View commit details
    Browse the repository at this point in the history
  5. Enabled string assignment for multiple params carrying same name

    The check is now based on the value type to infer if assignment should be done on Parameters or ParameterVectors
    
    Removed unnecessary import from utils
    
    Corrected string assignment
    
    Correction part 2
    
    Corrected test
    
    The inplace=True argument was preventing the reuse of a parametrized waveform in the schedule, making the test fail
    arthurostrauss committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    179332e View commit details
    Browse the repository at this point in the history
  6. Reformat

    arthurostrauss committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    054022e View commit details
    Browse the repository at this point in the history