From 1cce3d845db17d930f3d702e12a4d4691e2e8443 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Wed, 23 Oct 2024 14:55:16 -0400 Subject: [PATCH] Add description of `inplace` argument to `decompose_qpd_instructions` --- qiskit_addon_cutting/qpd/decompose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_addon_cutting/qpd/decompose.py b/qiskit_addon_cutting/qpd/decompose.py index d572b5f9..c8d0559a 100644 --- a/qiskit_addon_cutting/qpd/decompose.py +++ b/qiskit_addon_cutting/qpd/decompose.py @@ -42,7 +42,7 @@ def decompose_qpd_instructions( map_ids: Indices to a specific linear mapping to be applied to the decompositions in the circuit. If no map IDs are provided, the circuit will be decomposed randomly according to the decompositions' joint probability distribution. - inplace: TODO + inplace: If ``True``, the ``circuit`` will be modified in place. Returns: Circuit which has had all its :class:`BaseQPDGate` instances decomposed into local operations.