qsim:: GateS

#include <gates_qsim.h>

The S gate, equivalent to "square root of Z".

Summary

Public static attributes

kind = kGateS
constexpr GateKind
name = "s"[]
constexpr char
num_qubits = 1
constexpr unsigned
symmetric = true
constexpr bool

Public static functions

Create (unsigned time, unsigned q0)
GateQSim < fp_type >

Public static attributes

kind

constexpr GateKind qsim::GateS::kind = kGateS

name

constexpr char qsim::GateS::name[] = "s"

num_qubits

constexpr unsigned qsim::GateS::num_qubits = 1

symmetric

constexpr bool qsim::GateS::symmetric = true

Public static functions

Create

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