qiskit.providers.aer.extensions.SnapshotExpectationValue.repeat¶
-
SnapshotExpectationValue.
repeat
(n)¶ Creates an instruction with gate repeated n amount of times.
- Parameters
n (int) – Number of times to repeat the instruction
- Returns
Containing the definition.
- Return type
- Raises
CircuitError – If n < 1.