qsim:: GateRX

#include <gates_qsim.h>

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

Summary

This is a generalization of the X gate.

Public static attributes

kind = kGateRX
constexpr GateKind
name = "rx"[]
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::GateRX::kind = kGateRX

name

constexpr char qsim::GateRX::name[] = "rx"

num_qubits

constexpr unsigned qsim::GateRX::num_qubits = 1

symmetric

constexpr bool qsim::GateRX::symmetric = true

Public static functions

Create

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