-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting type for composite experiment (#1296)
### Summary This PR solves issue #1289 Added `experiment_type` property and setter in `BatchExperiment` and `ParallelExperiment` also added `experiment_type` setter in `BaseExperiment`, this changes will provide user flexibility and ease of use within their applications. ### PR checklist (delete when all criteria are met) - [X] I have read the contributing guide `CONTRIBUTING.md`. - [X] I have added the tests to cover my changes. - [X] I have updated the documentation accordingly. - [X] I have added a release note file using `reno` if this change needs to be documented in the release notes. --------- Co-authored-by: Helena Zhang <Helena.Zhang@ibm.com>
- Loading branch information
1 parent
8bda25d
commit d4b9d14
Showing
6 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/setter-methods-for-experiment-099074e59faffb49.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
features: | ||
- | | ||
Added ``experiment_type`` as optional ``__init__`` kwarg in :class:`.BatchExperiment` | ||
and :class:`.ParallelExperiment`. | ||
- | | ||
:math:'experiment_type' can now be easily set and retrieved from the experiment | ||
object post-construction using the 'experiment_type' property and setter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters