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 minimal working code examples in Experiment API docs (backport #1494) #1505

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Dec 18, 2024

Summary

This change adds minimal working code examples to the API pages for Experiments,
EFSpectroscopy,
EFRabi,
StarkRamseyXYAmpScan,
FineAmplitudeCal,
FineXAmplitudeCal,
FineSXAmplitudeCal,
FineDragCal,
FineXDragCal,
FineSXDragCal,
FineFrequencyCal,
FrequencyCal,
HalfAngleCal,
RoughAmplitudeCal,
RoughXSXAmplitudeCal,
EFRoughXSXAmplitudeCal,
RoughDragCal,
RoughFrequencyCal,
QuantumVolume,
InterleavedRB,
LayerFidelity,
StandardRB,
MitigatedProcessTomography,
MitigatedStateTomography,
ProcessTomography,
StateTomography and
TomographyExperiment.

Details and comments

  • This PR covers many remaining experiments in issue#1238 and issue#1221.
  • In the API pages, the documentation for each experiment has been updated with its code example. Users are required to specify a backend in the code example. By default, backends used in the code examples, are simulators such as, SingleTransmonTestBackend() and AerSimulator(FakePerth()).

This is an automatic backport of pull request #1494 done by [Mergify](https://mergify.com).

### Summary

This change adds minimal working code examples to the API pages for
Experiments,
    EFSpectroscopy,
    EFRabi,
    StarkRamseyXYAmpScan,
    FineAmplitudeCal,
    FineXAmplitudeCal,
    FineSXAmplitudeCal,
    FineDragCal,
    FineXDragCal,
    FineSXDragCal,
    FineFrequencyCal,
    FrequencyCal,
    HalfAngleCal,
    RoughAmplitudeCal,
    RoughXSXAmplitudeCal,
    EFRoughXSXAmplitudeCal,
    RoughDragCal,
    RoughFrequencyCal,
    QuantumVolume,
    InterleavedRB,
    LayerFidelity,
    StandardRB,
    MitigatedProcessTomography,
    MitigatedStateTomography,
    ProcessTomography,
    StateTomography and
    TomographyExperiment.

### Details and comments

- This PR covers many remaining experiments in `issue#1238` and
`issue#1221`.
- In the API pages, the documentation for each experiment has been
updated with its code example. Users are required to specify a backend
in the code example. By default, backends used in the code examples, are
simulators such as, SingleTransmonTestBackend() and
AerSimulator(FakePerth()).

---------

Co-authored-by: 中澤 直仁 <nakazawanaohito@nakazawa-iMac.local>
(cherry picked from commit cc258d7)
@wshanks wshanks merged commit 1bb8089 into stable/0.8 Dec 18, 2024
11 checks passed
@wshanks wshanks deleted the mergify/bp/stable/0.8/pr-1494 branch December 18, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants