ReCirq
ReCirq copied to clipboard
Unexpected keyword argument in `build_otoc_circuits`
If you call build_otoc_circuits with use_physical_cz=False, cz_to_sqrt_iswap is called with corrections=cz_correction
https://github.com/quantumlib/ReCirq/blob/144323f212757775a8541dbe2f938b64534b25ec/recirq/otoc/otoc_circuits.py#L287
but cz_to_sqrt_iswap has no corrections argument
https://github.com/quantumlib/ReCirq/blob/144323f212757775a8541dbe2f938b64534b25ec/recirq/otoc/utils.py#L229-L232
To reproduce, run python otoc_example.py with use_physical_cz=False.
TypeError: cz_to_sqrt_iswap() got an unexpected keyword argument 'corrections'
@XiaoMiQC