Repository navigation
Allow for multiple controls and targets in rotation gates - #835
Conversation
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
1084649 to
619c33e
Compare
Command Bot: Processing... |
1 similar comment
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
d8aeb02 to
680a19a
Compare
41b6054 to
95698cb
Compare
e03fcb3 to
c105afa
Compare
Command Bot: Processing... |
1 similar comment
Command Bot: Processing... |
87c7795 to
cfd4b46
Compare
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
cfd4b46 to
d5701ba
Compare
abb2021 to
45c5367
Compare
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
Signed-off-by: A.M. Santana <anthonys@nvidia.com>
45c5367 to
4455c99
Compare
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
schweitzpgi
left a comment
There was a problem hiding this comment.
+1 with the understanding there are a few open issues that need more attention. Thanks for the walk through.
There was a problem hiding this comment.
Future note: once pr #876 is merged, these tests may be moved to builder_tester.cpp where they will be run through QPP state/dm, and custatevec
| counts.dump(); | ||
|
|
||
| // Target qubit should've been rotated to |1>. | ||
| EXPECT_EQ(counts.count("0000111111"), 1000); |
There was a problem hiding this comment.
@anthony-santana why do these checks have more bits than qubits allocated?
There was a problem hiding this comment.
Oh nevermind, this is because of the ancilla bits being added by the multi-control-decomp
Description
Allows for a list of individual controls to rotation gates in C++ and python builders
New C++ unit tests for controlled rotations
New python unit tests for controlled rotations
New python compiler test for controlled rotations
Handles the qreg -> qubit broadcasting for rotation gates
Above allows someone to call
rx(value, qreg)as they would with other gates -- kernel builder onlyNew C++ and python unit tests
New python compiler test