qsim:: Cirq:: PhasedXZGate

#include <gates_cirq.h>

A PhasedXPowGate followed by a ZPowGate .

Summary

Equivalent to the circuit ───Z^(-a)──X^x──Z^a───Z^z─── .

Public static attributes

kind = kPhasedXZGate
constexpr GateKind
name = "PhasedXZGate"[]
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 x_exponent, fp_type z_exponent, fp_type axis_phase_exponent)
GateCirq < fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::PhasedXZGate::kind = kPhasedXZGate

name

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

num_qubits

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

pi

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

symmetric

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

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::PhasedXZGate::Create(
  unsigned time,
  unsigned q0,
  fp_type x_exponent,
  fp_type z_exponent,
  fp_type axis_phase_exponent
)