qsim::Cirq::YPowGate

#include <gates_cirq.h>

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

Summary

This is a generalization of the Y gate.

Inheritance

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

Public static attributes

kind = kYPowGate
constexpr GateKind
name = "YPowGate"[]
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::YPowGate::kind = kYPowGate

name

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

num_qubits

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

pi

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

symmetric

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

Public static functions

Create

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