mqt.qudits.compiler.onedit.mapping_aware_transpilation.phy_local_qr_decomp

Module Contents

class PhyLocQRPass(backend: Backend)[source]

Bases: mqt.qudits.compiler.CompilerPass

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

transpile_gate(gate: Gate) → list[Gate][source]
transpile(circuit: QuantumCircuit) → QuantumCircuit[source]
class PhyQrDecomp(gate: Gate, graph_orig: LevelGraph, z_prop: bool = False, not_stand_alone: bool = True)[source]
gate: Gate
circuit: QuantumCircuit
dimension: int
qudit_index: int
U: numpy.typing.NDArray[numpy.complex128]
graph: LevelGraph
phase_propagation: bool = False
not_stand_alone: bool = True
execute() → tuple[list[Gate], float, float][source]