qsim:: Cirq:: rz

#include <gates_cirq.h>

The (exponent = phi/pi, global_shift = -0.5) instance of ZPowGate .

Summary

This is a generalization of the Z gate with a fixed global phase. This is a function in Cirq.

Public static attributes

kind = krz
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)
GateCirq < fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::rz::kind = krz

name

constexpr char qsim::Cirq::rz::name[] = "rz"

num_qubits

constexpr unsigned qsim::Cirq::rz::num_qubits = 1

symmetric

constexpr bool qsim::Cirq::rz::symmetric = true

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::rz::Create(
  unsigned time,
  unsigned q0,
  fp_type phi
)