qsim::Cirq::rx

#include <gates_cirq.h>

The (exponent = phi/pi, global_shift = -0.5) instance of XPowGate.

Summary

This is a generalization of the X gate with a fixed global phase. This is a function in Cirq.

Public static attributes

kind = krx
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)
GateCirq< fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::rx::kind = krx

name

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

num_qubits

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

symmetric

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

Public static functions

Create

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