Skip to content

Commit e1754ec

Browse files
Replace Study with sweep in docs (#3439)
* Replace `Study` with `sweep` in docs * Clean up `sweep` description
1 parent 5253f54 commit e1754ec

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

docs/simulation.ipynb

+6-14
Original file line numberDiff line numberDiff line change
@@ -535,14 +535,10 @@
535535
"Here we see that the ``Symbol`` is used in two gates, and then the resolver provides this value at run time.\n",
536536
"\n",
537537
"Parameterized values are most useful in defining what we call a\n",
538-
"``Study``. A ``Study`` is a collection of trials, where each\n",
539-
"trial is a run with a particular set of configurations and which\n",
540-
"may be run repeatedly. \n",
538+
"``sweep``. A ``sweep`` is a sequence of trials, where each\n",
539+
"trial is a run with a particular set of parameter values.\n",
541540
"\n",
542-
"Running a `Study` returns one\n",
543-
"``TrialContext`` and ``Result`` per set of fixed parameter\n",
544-
"values and repetitions (which are reported as the ``repetition_id``\n",
545-
"in the ``TrialContext`` object). \n",
541+
"Running a ``sweep`` returns a ``Result`` for each set of fixed parameter values and repetitions. \n",
546542
"\n",
547543
"For instance:"
548544
]
@@ -585,13 +581,9 @@
585581
"id": "5ca5f417ca71"
586582
},
587583
"source": [
588-
"Above we see that different repetitions for the case that the\n",
589-
"qubit has been rotated into a superposition over computational\n",
590-
"basis states yield different measurement results per run.\n",
591-
"\n",
592-
"Also note that we now see the use of the ``TrialContext`` returned\n",
593-
"as the first tuple from ``run``: it contains the ``param_dict``\n",
594-
"describing what values were actually used in resolving the ``Symbol`` objects."
584+
"Above we see that assigning different values to gate parameters yields\n",
585+
"different results for each trial in the sweep, and that each trial is repeated\n",
586+
"``repetitions`` times."
595587
]
596588
},
597589
{

0 commit comments

Comments
 (0)