Fixed a nasty typo in Kak implementation
Typo in IR construction but not in validation code hence can escape all the asserts in Kak. Updated the gate merging unit test which uses KAK to be more rigorous in catching these potential bugs. Signed-off-by: Thien Nguyen <firstname.lastname@example.org>
This diff is collapsed.