Skip to content

Commit

Permalink
Expand do_rpe docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegulshen committed Jul 24, 2019
1 parent 14acb19 commit 612448c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions forest/benchmarking/robust_phase_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,14 @@ def do_rpe(qc: QuantumComputer, rotation: Program, changes_of_basis: List[Progra
List[ObservablesExperiment],
List[List[ExperimentResult]]]:
"""
A wrapper around experiment generation, data acquisition, and estimation that runs a RB
experiment on the qubit_groups and returns the rb_decay along with the experiments and results.
A wrapper around experiment generation, data acquisition, and estimation that runs robust
phase estimation.
The `changes_of_basis` paired with `qubit_groups` implicitly specify the accumulation of
which phases are being measured with respect to increasing applications of `rotation`. This
can be used to facilitate multiple 'parallel' RPE experiments that measure the phase of
several single qubit gates in parallel. It also allows for cross talk experiments where one
physical gate drives effective rotations that are monitored on spectator qubits.
:param qc: A quantum computer object on which the experiment will run.
:param rotation: the program or gate whose angle of rotation is to be estimated. Note that
Expand Down

0 comments on commit 612448c

Please sign in to comment.