diff --git a/qiskit_experiments/library/randomized_benchmarking/layer_fidelity.py b/qiskit_experiments/library/randomized_benchmarking/layer_fidelity.py index 220cb73f4b..e7c7caa087 100644 --- a/qiskit_experiments/library/randomized_benchmarking/layer_fidelity.py +++ b/qiskit_experiments/library/randomized_benchmarking/layer_fidelity.py @@ -84,9 +84,9 @@ def __init__( Args: physical_qubits: List of physical qubits for the experiment. two_qubit_layers: List of pairs of qubits to run on, will use the direction given here. - lengths: A list of RB sequences lengths. + lengths: A list of layer lengths. backend: The backend to run the experiment on. - num_samples: Number of samples to generate for each sequence length. + num_samples: Number of samples to generate for each layer length. seed: Optional, seed used to initialize ``numpy.random.default_rng``. when generating circuits. The ``default_rng`` will be initialized with this seed value every time :meth:`circuits` is called. @@ -174,8 +174,8 @@ def _default_experiment_options(cls) -> Options: Experiment Options: two_qubit_layers (List[List[Tuple[int, int]]]): List of pairs of qubits to run on. - lengths (List[int]): A list of RB sequences lengths. - num_samples (int): Number of samples to generate for each sequence length. + lengths (List[int]): A list of layer lengths. + num_samples (int): Number of samples to generate for each layer length. seed (None or int or SeedSequence or BitGenerator or Generator): A seed used to initialize ``numpy.random.default_rng`` when generating circuits. The ``default_rng`` will be initialized with this seed value every time diff --git a/qiskit_experiments/library/randomized_benchmarking/layer_fidelity_analysis.py b/qiskit_experiments/library/randomized_benchmarking/layer_fidelity_analysis.py index 836c829e7d..b9fde5874f 100644 --- a/qiskit_experiments/library/randomized_benchmarking/layer_fidelity_analysis.py +++ b/qiskit_experiments/library/randomized_benchmarking/layer_fidelity_analysis.py @@ -69,7 +69,10 @@ def __init__(self, physical_qubits): ] ) self._physical_qubits = physical_qubits - self.set_options(outcome="0" * len(physical_qubits)) + self.set_options( + outcome="0" * len(physical_qubits), + figure_names="DirectRB_Q" + "_Q".join(map(str, physical_qubits)) + ".svg", + ) self.plotter.set_figure_options( figure_title=f"Simultaneous Direct RB on Qubit{physical_qubits}", )