qsim:: Cirq:: PhasedXPowGate

#include <gates_cirq.h>

An XPowGate conjugated by ZPowGate s.

Summary

Equivalent to the circuit ───Z^-p───X^t───Z^p─── .

Public static attributes

kind = kPhasedXPowGate
constexpr GateKind
name = "PhasedXPowGate"[]
constexpr char
num_qubits = 1
constexpr unsigned
pi = static_cast (pi_double)
constexpr fp_type
symmetric = true
constexpr bool

Public static functions

Create (unsigned time, unsigned q0, fp_type phase_exponent, fp_type exponent, fp_type global_shift)
GateCirq < fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::PhasedXPowGate::kind = kPhasedXPowGate

name

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

num_qubits

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

pi

constexpr fp_type qsim::Cirq::PhasedXPowGate::pi = static_cast(pi_double)

symmetric

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

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::PhasedXPowGate::Create(
  unsigned time,
  unsigned q0,
  fp_type phase_exponent,
  fp_type exponent,
  fp_type global_shift
)