You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
this code is really a great idea, but I was just wondering why there are not R_y gate for example? Is it to avoid having to deal with complex phases?
If there is no intrinsic limit to add those gates I might give it a try and them as well.
Alright, I ll give it a try.
I notice that actually also the simple perform_y is missing. I ll start from that one. If you have suggestions let me know.
Activity
cduck commentedon Jul 4, 2022
There is no Ry gate yet because I didn't need it. Please do give a try implementing it though.
I would make the gate format
ry<qubit>,<half_turns>e.g.ry2,0.25is a pi/4 rotation on q2.You'll need to implement
perform_ry, similar toperform_h:feynman_path/feynman_path/diagram.py
Line 198 in bb144e6
Also, this line will need to be changed to detect decimal numbers, not just integers:
feynman_path/feynman_path/command.py
Line 10 in bb144e6
gsilviHQS commentedon Jul 5, 2022
Alright, I ll give it a try.
I notice that actually also the simple perform_y is missing. I ll start from that one. If you have suggestions let me know.