quantum-music-playground icon indicating copy to clipboard operation
quantum-music-playground copied to clipboard

fix mct's

Open omarcostahamido opened this issue 4 years ago • 1 comments

multi-controlled-toffoli gates and their family, what an headache. there are several gates that when added 2 or more controls they don't behave as expected. most of the time they just ignore some of the control wires.

omarcostahamido avatar Oct 13 '21 18:10 omarcostahamido

Each type of gate has a limit for number of controls. For X gates the limit is 2. Please see: https://github.com/JavaFXpert/quantum-music-playground#understanding-control-gate-modifiers

On Wed, Oct 13, 2021, at 2:28 PM, Omar Costa Hamido wrote:

multi-controlled-toffoli gates and their family, what an headache. there are several gates that when added 2 or more controls they don't behave as expected. most of the time they just ignore some of the control wires.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JavaFXpert/quantum-music-playground/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLZ5WQRZ3QC4L5UBII575DUGXFT5ANCNFSM5F523UMQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

JavaFXpert avatar Oct 13 '21 19:10 JavaFXpert