qsim::GateX2

#include <gates_qsim.h>

The "square root of X" gate.

Summary

Public static attributes

h = static_cast(h_double)
constexpr fp_type
kind = kGateX2
constexpr GateKind
name = "x_1_2"[]
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

h

constexpr fp_type qsim::GateX2::h = static_cast(h_double)

kind

constexpr GateKind qsim::GateX2::kind = kGateX2

name

constexpr char qsim::GateX2::name[] = "x_1_2"

num_qubits

constexpr unsigned qsim::GateX2::num_qubits = 1

symmetric

constexpr bool qsim::GateX2::symmetric = true

Public static functions

Create

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