Skip to content

Commit

Permalink
Update src/qibo/transpiler/asserts.py
Browse files Browse the repository at this point in the history
Co-authored-by: Renato Mello <[email protected]>
  • Loading branch information
csookim and renatomello authored Dec 11, 2024
1 parent f60ebdc commit ce90ae1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/qibo/transpiler/asserts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ce90ae1

Please sign in to comment.