tket
tket copied to clipboard
`StatePreparationBox` can be slightly improved
As suggested in https://arxiv.org/abs/quant-ph/0406176 we should be able to further reduce the CX count by decomposing each Multiplexed Ry(Rz) reversed so one CX can be cancelled with a CX from the adjacent multiplexed Rz(Ry)