From ce90ae19705f1aa2230cd6133f79201e69945074 Mon Sep 17 00:00:00 2001 From: Changsoo Kim <57739683+csookim@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:09:23 +0900 Subject: [PATCH] Update src/qibo/transpiler/asserts.py Co-authored-by: Renato Mello --- src/qibo/transpiler/asserts.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/qibo/transpiler/asserts.py b/src/qibo/transpiler/asserts.py index d15dd08273..d7716b530a 100644 --- a/src/qibo/transpiler/asserts.py +++ b/src/qibo/transpiler/asserts.py @@ -33,8 +33,10 @@ def assert_transpiling( transpiled_circuit (:class:`qibo.models.circuit.Circuit`): Circuit after transpiling. connectivity (:class:`networkx.Graph`): Hardware connectivity. final_layout (dict): Final logical-physical qubit mapping. - native_gates (:class:`qibo.transpiler.unroller.NativeGates`, optional): Native gates supported by the hardware. Defaults to :class:`qibo.transpiler.unroller.NativeGates.default()`. - check_circuit_equivalence (bool, optional): Check if the transpiled circuit is equivalent to the original one. Defaults to :math:`True`. + native_gates (:class:`qibo.transpiler.unroller.NativeGates`, optional): Native gates supported by the hardware. + Defaults to :class:`qibo.transpiler.unroller.NativeGates.default()`. + check_circuit_equivalence (bool, optional): Check if the transpiled circuit is equivalent to the original one. + Defaults to :math:`True`. """ assert_connectivity(circuit=transpiled_circuit, connectivity=connectivity) assert_decomposition(