question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After the addition of ISwapRotation in #2488, would it make sense to also add a CZRotation gate which takes the controlled angle as an argument? I usually find myself working mostly with angles, for instance for varitional algorithms, so I currently have to convert to exponents when creating circuits in Cirq.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
balopatcommented, Sep 16, 2020

Discussed on Cirq Cynq:

cirq.cphase(angle) --> cirq.CZPowGate ** f(angle)

0reactions
andbe91commented, Sep 16, 2020
CPhase(theta) = cirq.TwoQubitDiagonalGate([0,0,0, theta])

definitely seems logical to me. I’ll let others decide on naming and if it is something we want.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ad rotation - Wikipedia
Ad rotation is the practice of showing multiple advertisements in a single location on a web page. Ads may be rotated with each...
Read more >
How to Rotate in Unity (complete beginner's guide)
Master the basics of rotation in Unity in my in-depth beginner's guide. ... Or you could add rotation every frame to make an...
Read more >
Add 90 Degrees to Transform.Rotation - Unity Answers
Add 90 Degrees to Transform.Rotation. Hello,. Haven't been using Unity for a while and I've kind'a forgotten a few simple things, ...
Read more >
Ad Rotation overview - Knowledge Base - Smartly
Ad Rotation enables you to rotate ads within an ad set automatically. Use this feature to reduce ad fatigue and serve your audience...
Read more >
Rotating Ads vs. Optimizing Ads: Which Is Better? - WordStream
Depending on how tightly themed the keywords are in a given ad group, the disparity in ad impressions may be large (possible opportunity...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found