qsim::GateRY

#include <gates_qsim.h>

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

Summary

This is a generalization of the Y gate.

Public static attributes

kind = kGateRY
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)
GateQSim< fp_type >

Public static attributes

kind

constexpr GateKind qsim::GateRY::kind = kGateRY

name

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

num_qubits

constexpr unsigned qsim::GateRY::num_qubits = 1

symmetric

constexpr bool qsim::GateRY::symmetric = true

Public static functions

Create

GateQSim< fp_type > qsim::GateRY::Create(
  unsigned time,
  unsigned q0,
  fp_type phi
)