qsim::GateX

#include <gates_qsim.h>

The Pauli X (or "NOT") gate.

Summary

Public static attributes

kind = kGateX
constexpr GateKind
name = "x"[]
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::GateX::kind = kGateX

name

constexpr char qsim::GateX::name[] = "x"

num_qubits

constexpr unsigned qsim::GateX::num_qubits = 1

symmetric

constexpr bool qsim::GateX::symmetric = true

Public static functions

Create

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