mqt.qudits.compiler.onedit¶

Subpackages¶

Package Contents¶

class ZPropagationPass(backend, back=True)[source]¶

Bases: mqt.qudits.compiler.CompilerPass

Helper class that provides a standard way to create an ABC using inheritance.

transpile(circuit)[source]¶
propagate_z(circuit, line, back)[source]¶
find_intervals_with_same_target_qudits(instructions)[source]¶
remove_z(original_circuit, back=True)[source]¶
class ZRemovalPass(backend)[source]¶

Bases: mqt.qudits.compiler.CompilerPass

Helper class that provides a standard way to create an ABC using inheritance.

transpile(circuit)[source]¶
remove_rz_gates(original_circuit, reverse=False)[source]¶
remove_initial_rz(original_circuit)[source]¶
remove_trailing_rz_sequence(original_circuit)[source]¶
class PhyLocAdaPass(backend)[source]¶

Bases: mqt.qudits.compiler.CompilerPass

Helper class that provides a standard way to create an ABC using inheritance.

transpile(circuit)[source]¶
class PhyLocQRPass(backend)[source]¶

Bases: mqt.qudits.compiler.CompilerPass

Helper class that provides a standard way to create an ABC using inheritance.

transpile(circuit)[source]¶
class LogLocAdaPass(backend)[source]¶

Bases: mqt.qudits.compiler.CompilerPass

Helper class that provides a standard way to create an ABC using inheritance.

transpile(circuit)[source]¶
class LogLocQRPass(backend)[source]¶

Bases: mqt.qudits.compiler.CompilerPass

Helper class that provides a standard way to create an ABC using inheritance.

transpile(circuit)[source]¶