Intel® Quantum SDK
Forum related to Intel Quantum SDK, a full-stack software kit for programming and executing algorithms on simulated quantum hardware.

n qubit control gates?

zgural
Beginner
732 Views

Does the SDK have an already built n>2 qubit toffoli gate (so control on more than 2 qubits)?

This would be useful, but is awkward to construct from standard gates.

0 Kudos
1 Solution
KevinR_Intel
Moderator
728 Views

For now, the quintrinsics.h only supplies users with the 2-control Toffoli construction so to get more controls you do have to write out the de-composition to 2-qubit gates. But we are working on supplying users with an easier way to express that gate in the future.

View solution in original post

0 Kudos
1 Reply
KevinR_Intel
Moderator
729 Views

For now, the quintrinsics.h only supplies users with the 2-control Toffoli construction so to get more controls you do have to write out the de-composition to 2-qubit gates. But we are working on supplying users with an easier way to express that gate in the future.

0 Kudos
Reply