Intel® Quantum SDK
Forum related to Intel Quantum SDK, a full-stack software kit for programming and executing algorithms on simulated quantum hardware.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
38 Discussions

The comment under rotxy gate has error

Zirui
Beginner
902 Views

The unitary for rotxy should be 

[[np.cos(theta/2), complex(-np.sin(theta/2)*np.sin(phi), -np.sin(theta/2)*np.cos(phi))],
[complex(np.sin(theta/2)*np.sin(phi), -np.sin(theta/2)*np.cos(phi)), np.cos(theta/2)]]
 

but in clang/Quantum/quintrinsics.h head file the unitary in the comment on rotxy function is wrong. It's a slight error in the comment, which doesn't affect the functions.

0 Kudos
1 Reply
KevinR_Intel
Moderator
838 Views

Thanks for taking the time to bring it to our attention! Although small, as you say, someone will (unknowingly) appreciate not wasting their own time by following a mistake in the comment (as a result of your efforts to let us know).

0 Kudos
Reply