Skip to content

Commit ca46f04

Browse files
viathorrht
authored andcommitted
No qudit Y gate (quantumlib#5814)
1 parent 78833cb commit ca46f04

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cirq-core/cirq/ops/common_gates.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,16 @@ class YPowGate(eigen_gate.EigenGate):
389389
parameter when initializing.
390390
391391
`cirq.Y`, the Pauli Y gate, is an instance of this gate at `exponent=1`.
392+
393+
Unlike `cirq.XPowGate` and `cirq.ZPowGate`, this gate has no generalization
394+
to qudits and hence does not take the dimension argument. Ignoring the
395+
global phase all generalized Pauli operators on a d-level system may be
396+
written as X**a Z**b for a,b=0,1,...,d-1. For a qubit, there is only one
397+
"mixed" operator: XZ, conventionally denoted -iY. However, when d > 2 there
398+
are (d-1)*(d-1) > 1 such "mixed" operators (still ignoring the global phase).
399+
Due to this ambiguity, qudit Y gate is not well defined. The "mixed" operators
400+
for qudits are generally not referred to by name, but instead are specified in
401+
terms of X and Z.
392402
"""
393403

394404
def _num_qubits_(self) -> int:

0 commit comments

Comments
 (0)