diff --git a/docs/guides/defaults-and-configuration-options.ipynb b/docs/guides/defaults-and-configuration-options.ipynb index 3fa497e260..2aa87afe24 100644 --- a/docs/guides/defaults-and-configuration-options.ipynb +++ b/docs/guides/defaults-and-configuration-options.ipynb @@ -168,7 +168,6 @@ "- `backend` (Backend) - If this is set, the transpiler compiles the input circuit to this device. If any other option is set that impacts these settings, such as `coupling_map`, it overrides the settings from `backend`.\n", "- `target` (Target) - A backend transpiler target. Normally this is specified as part of the backend argument, but if you manually constructed a Target object, you can specify it here. This overrides the target from `backend`.\n", "- `backend_properties` (BackendProperties) - Properties returned by a QPU, including information on gate errors, readout errors, qubit coherence times, and so on. Find a QPU that provides this information by running `backend.properties()`.\n", - "- `instruction_durations` (List[Tuple[str, Iterable[int], float, Iterable[float], str]] | List[Tuple[str, Iterable[int], float, Iterable[float]]] | List[Tuple[str, Iterable[int], float, str]] | List[Tuple[str, Iterable[int], float]] | InstructionDurations) - Durations of instructions. Applicable only if `scheduling_method` is specified. The gate lengths defined in `backend.properties` are used by default. They are overwritten if `instruction_durations` is specified. The `instruction_durations` format must be as follows. The instruction_durations must be given as a list of tuples [(instruction_name, qubits, duration, unit), …]. | [(`cx`, [0, 1], 12.3, `ns`), (`u3`, [0], 4.56, `ns`)] | [(`cx`, [0, 1], 1000), (`u3`, [0], 300)]. If `unit` is omitted, the default is `dt`, which is a sample time depending on the QPU. If the time unit is `dt`, the duration must be an integer.\n", "- `timing_constraints` (Dict[str, int] | None) - An optional control hardware restriction on instruction time resolution. This information is provided by the QPU configuration. If the QPU doesn’t have any restriction on the instruction time allocation, `timing_constraints` is `None` and no adjustment is performed. A QPU might report a set of restrictions, namely:\n", " - `granularity`: An integer value representing the minimum pulse gate resolution in units of dt. A user-defined pulse gate should have a duration that is a multiple of this granularity value.\n", " - `min_length`: An integer value representing the minimum pulse gate length in units of dt. A user-defined pulse gate should be longer than this length.\n", @@ -263,24 +262,12 @@ "cell_type": "code", "execution_count": 3, "id": "bcaab4a6", - "metadata": { - "tags": [ - "ignore-warnings" - ] - }, + "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/tmp/ipykernel_1917/204530856.py:1: DeprecationWarning: ``qiskit.transpiler.preset_passmanagers.generate_preset_pass_manager.generate_preset_pass_manager()``'s argument ``instruction_durations`` is deprecated as of Qiskit 1.3. It will be removed in Qiskit 2.0. The `target` parameter should be used instead. You can build a `Target` instance with defined instruction durations with `Target.from_configuration(..., instruction_durations=...)`\n", - " generate_preset_pass_manager(\n" - ] - }, { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 3, @@ -296,7 +283,6 @@ " basis_gates=None,\n", " inst_map=None,\n", " coupling_map=None,\n", - " instruction_durations=None,\n", " backend_properties=None,\n", " timing_constraints=None,\n", " initial_layout=None,\n",