Problem Statement:
Currently, the user has to model quantum workflows manually, which is very complex and error-prone, especially when including advanced techniques, such as warm-starting or circuit cutting.
Expected Behavior:
An approach is required to automatically generate quantum workflows based on a set of selected patterns.
Furthermore, it should also be supported to adapt quantum workflows automatically when attaching patterns to activities.
Tasks:
[x] #95
[x] Restrict the pattern selection based on defined rules (e.g., currently, exactly one algorithmic pattern must be selected)
[ ] Retrieve the concrete solution defined for the selected algorithmic pattern:
[x] Transformation must be done before other transformations, e.g., QuantME transformation
[x] Add example rules:
[x] REM pattern: Add REM task after circuit execution tasks within the subprocess to which the pattern is attached. Also after result combination task in case cutting is applied.
[x] Warm-Starting pattern: Add WS task before VQA starts. Before Circuit Loading.
[x] Cutting pattern: Add cutting and combination tasks before/after execution
Problem Statement: Currently, the user has to model quantum workflows manually, which is very complex and error-prone, especially when including advanced techniques, such as warm-starting or circuit cutting.
Expected Behavior: An approach is required to automatically generate quantum workflows based on a set of selected patterns. Furthermore, it should also be supported to adapt quantum workflows automatically when attaching patterns to activities.
Tasks:
@mbeisel, @vietzd: Please refine where required