-
Notifications
You must be signed in to change notification settings - Fork 135
Experiment data and analysis result classes #113
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
Merged
Merged
Changes from 16 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
d3af475
move from terra
jyu00 7506759
run black
jyu00 4503267
convert service exception to log
jyu00 5e97146
fix lint
jyu00 6bd5c64
log post processing failure
jyu00 1780a37
remove data index
jyu00 e3a2d31
fix test can package typo
jyu00 b727010
Merge branch 'main' into results-db
yaelbh d2482ac
Merge remote-tracking branch 'upstream/main' into results-db
jyu00 8139169
Merge remote-tracking branch 'origin/results-db' into results-db
jyu00 1fd9dd5
remove experiment_class and result_class
jyu00 404d7be
fix lint
jyu00 aa507c8
Merge branch 'main' into results-db
yaelbh 248f5aa
Merge branch 'main' into results-db
yaelbh b367355
Merge branch 'main' into results-db
yaelbh c09d010
Merge branch 'main' into results-db
yaelbh 87f2355
Merge branch 'main' into results-db
yaelbh f09667c
doc update
jyu00 c98e2c6
rename classes
jyu00 9070a89
review comments
jyu00 25c5156
Merge remote-tracking branch 'origin/results-db' into results-db
jyu00 5205ee6
fix lint
jyu00 11d392a
Merge branch 'main' into results-db
yaelbh e916c5f
review comments
jyu00 156bf4a
Merge remote-tracking branch 'origin/results-db' into results-db
jyu00 e2980ad
Merge remote-tracking branch 'upstream/main' into results-db
jyu00 7169edd
fix lint
jyu00 111c7ad
add db service to doc
jyu00 ede3a31
fix doc
jyu00 6653396
remove extra service keyword
jyu00 c433999
fix type hint
jyu00 2e01e94
review comments
jyu00 6f564d8
Merge branch 'main' into results-db
jyu00 d086374
Merge branch 'main' into results-db
yaelbh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,53 @@ | ||
| # This code is part of Qiskit. | ||
| # | ||
| # (C) Copyright IBM 2021. | ||
| # | ||
| # This code is licensed under the Apache License, Version 2.0. You may | ||
| # obtain a copy of this license in the LICENSE.txt file in the root directory | ||
| # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
| # | ||
| # Any modifications or derivative works of this code must retain this | ||
| # copyright notice, and modified files need to carry a notice indicating | ||
| # that they have been altered from the originals. | ||
|
|
||
| """ | ||
| =================================================== | ||
| Stored Data (:mod:`qiskit_experiments.stored_data`) | ||
| =================================================== | ||
|
|
||
| .. currentmodule:: qiskit_experiments.stored_data | ||
|
|
||
| This module contains the classes used to define the data structure of | ||
| an experiment, including its data, metadata, analysis results, and figures. | ||
| The classes also provide an interface with a database service for storing | ||
| and retrieving experiment-related data. | ||
|
|
||
| Classes | ||
| ======= | ||
|
|
||
| .. autosummary:: | ||
| :toctree: ../stubs/ | ||
|
|
||
| StoredData | ||
| StoredDataV1 | ||
| AnalysisResult | ||
| AnalysisResultV1 | ||
| ExperimentService | ||
| ExperimentServiceV1 | ||
|
|
||
|
|
||
| Exceptions | ||
| ========== | ||
|
|
||
| .. autosummary:: | ||
| :toctree: ../stubs/ | ||
|
|
||
| ExperimentError | ||
| ExperimentEntryNotFound | ||
| ExperimentEntryExists | ||
| """ | ||
|
|
||
| from .stored_data import StoredData, StoredDataV1 | ||
| from .analysis_result import AnalysisResult, AnalysisResultV1 | ||
| from .experiment_service import ExperimentService, ExperimentServiceV1 | ||
| from .exceptions import ExperimentError, ExperimentEntryExists, ExperimentEntryNotFound | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.