qsim::Cirq::ZPowGate

#include <gates_cirq.h>

A gate that rotates around the Z axis of the Bloch sphere.

Summary

This is a generalization of the Z gate.

Inheritance

Direct Known Subclasses:qsim::Cirq::Z< fp_type >

Public static attributes

kind = kZPowGate
constexpr GateKind
name = "ZPowGate"[]
constexpr char
num_qubits = 1
constexpr unsigned
pi = static_cast(pi_double)
constexpr fp_type
symmetric = true
constexpr bool

Public static functions

Create(unsigned time, unsigned q0, fp_type exponent, fp_type global_shift)
GateCirq< fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::ZPowGate::kind = kZPowGate

name

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

num_qubits

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

pi

constexpr fp_type qsim::Cirq::ZPowGate::pi = static_cast(pi_double)

symmetric

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

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::ZPowGate::Create(
  unsigned time,
  unsigned q0,
  fp_type exponent,
  fp_type global_shift
)