qsim:: Cirq:: CCXPowGate

#include <gates_cirq.h>

A gate that applies a doubly-controlled power of an X gate.

Summary

This is a generalization of the CCX (or CCNOT) gate.

Public static attributes

kind = kCCXPowGate
constexpr GateKind
name = "CCXPowGate"[]
constexpr char
num_qubits = 3
constexpr unsigned
pi = static_cast (pi_double)
constexpr fp_type
symmetric = false
constexpr bool

Public static functions

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

Public static attributes

kind

constexpr GateKind qsim::Cirq::CCXPowGate::kind = kCCXPowGate

name

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

num_qubits

constexpr unsigned qsim::Cirq::CCXPowGate::num_qubits = 3

pi

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

symmetric

constexpr bool qsim::Cirq::CCXPowGate::symmetric = false

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::CCXPowGate::Create(
  unsigned time,
  unsigned q0,
  unsigned q1,
  unsigned q2,
  fp_type exponent,
  fp_type global_shift
)