Message Boards Message Boards

0
|
3457 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Multiple qubit rotation gates in latest Quantum Framewok version?

Posted 2 years ago

In previous versions of the QuantumFramework, multiple qubit ZRotation gates worked. Now, they are recognized as gates (they appear correctly in the Diagram) but don't work. See attached.

Anybody knows what happened or how to resolve this issue?

3 Replies

Resolved enter image description here

POSTED BY: Mohammad Bahrami

Thank you Mads for your quick response. However, this is not the way it used to work before. It is also not the way some people understand what a ZRotation on multiple qubits mean. See attached.

In fact, the duplication of rotation was not supported and we added that recently (like example I sent above); which is the right implementation for the rotation on many qubits. Note it means a separable operator where rotations act on different qubits (like tensor product you created above).

What you are talking about is the Ising coupling between different qubits (which does not mean as rotations on many qubits), and it is supported in our framework. For example for R_zz(theta) we have

QuantumOperator[{"ZZ", \[Theta]}]

Note R_zz gate is defined for only 2-qubits. So a bad code like this:

QuantumOperator[{"ZZ", \[Theta]}, {2, 4, 6}]

will be interpreted as the Ising coupling between qubit #2 and #4 only

QuantumOperator[{"ZZ", \[Theta]}, {2, 4}]

I hope it helps to clarify your question.

POSTED BY: Mohammad Bahrami
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract