CQCL / tket

Source code for the TKET quantum compiler, Python bindings and utilities
https://docs.quantinuum.com/tket/
Apache License 2.0
257 stars 48 forks source link

Inclusive option for DecomposeBoxes #1617

Open andrew-tranter opened 1 month ago

andrew-tranter commented 1 month ago

DecomposeBoxes has the excluded_types and excluded_opgroups parameters to allow exclusion of certain boxes from decomposition. It would be very useful to also have inclusive versions of these, where the decomposition will only be performed on the specified types/opgroups. In particular this would be useful when considering nested boxes.