qsim::Cirq::X

#include <gates_cirq.h>

The (exponent = 1, global_shift = 0) instance of XPowGate.

Summary

This is the canonical Pauli X gate.

Inheritance

Inherits from: qsim::Cirq::XPowGate< fp_type >

Public static attributes

kind = kX
constexpr GateKind
name = "X"[]
constexpr char
num_qubits = 1
constexpr unsigned
symmetric = true
constexpr bool

Public static functions

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

Public static attributes

kind

constexpr GateKind qsim::Cirq::X::kind = kX

name

constexpr char qsim::Cirq::X::name[] = "X"

num_qubits

constexpr unsigned qsim::Cirq::X::num_qubits = 1

symmetric

constexpr bool qsim::Cirq::X::symmetric = true

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::X::Create(
  unsigned time,
  unsigned q0
)