GR
class qiskit.circuit.library.GR(num_qubits, theta, phi)
Bases: QuantumCircuit
Global R gate.
Circuit symbol:
┌──────────┐
q_0: ┤0 ├
│ │
q_1: ┤1 GR(ϴ,φ) ├
│ │
q_2: ┤2 ├
└──────────┘The global R gate is native to atomic systems (ion traps, cold neutrals). The global R can be applied to multiple qubits simultaneously.
In the one-qubit case, this is equivalent to an R(theta, phi) operation, and is thus reduced to the RGate. The global R gate is a direct sum of R operations on all individual qubits.
Expanded Circuit:

Create a new Global R (GR) gate.
Parameters
- num_qubits (int) – number of qubits.
- theta (float) – rotation angle about axis determined by phi
- phi (float) – angle of rotation axis in xy-plane
Attributes
name
Type: str
A human-readable name for the circuit.
Example
from qiskit import QuantumCircuit
qc = QuantumCircuit(2, 2, name="my_circuit")
print(qc.name)my_circuitWas this page helpful?
Report a bug, typo, or request content on GitHub.