qsim::
GateRZ
#include <gates_qsim.h>
A gate that rotates around the Z axis of the Bloch sphere.
Summary
This is a generalization of the Z gate.
Public static attributes |
|
---|---|
kind
= kGateRZ
|
constexpr GateKind
|
name
= "rz"[]
|
constexpr char
|
num_qubits
= 1
|
constexpr unsigned
|
symmetric
= true
|
constexpr bool
|
Public static functions |
|
---|---|
Create
(unsigned time, unsigned q0, fp_type phi)
|
GateQSim
< fp_type >
|
Public static attributes
kind
constexpr GateKind qsim::GateRZ::kind = kGateRZ
name
constexpr char qsim::GateRZ::name[] = "rz"
num_qubits
constexpr unsigned qsim::GateRZ::num_qubits = 1
symmetric
constexpr bool qsim::GateRZ::symmetric = true