qsim::Cirq::ry

#include <gates_cirq.h>

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

Summary

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

Public static attributes

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

name

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

num_qubits

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

symmetric

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

Public static functions

Create

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