Skip to content

bloqade.lanes.rewrite.circuit2place.sq_only_merge

← Module overview

functionsq_only_mergesource

bloqade.lanes.rewrite.circuit2place.sq_only_merge

Signature
def sq_only_merge(sp1: place.StaticPlacement, sp2: place.StaticPlacement) -> bool

Merge placements whose bodies contain only R and Rz (no CZ).

Parameters

NameTypeDescription
sp1place.StaticPlacement
sp2place.StaticPlacement

Returns

bool

source