qsim::Cirq::CCZPowGate

#include <gates_cirq.h>

A gate that applies a phase to the |111⟩ state of three qubits.

Summary

This is a generalization of the CCZ gate.

Public static attributes

kind = kCCZPowGate
constexpr GateKind
name = "CCZPowGate"[]
constexpr char
num_qubits = 3
constexpr unsigned
pi = static_cast(pi_double)
constexpr fp_type
symmetric = true
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::CCZPowGate::kind = kCCZPowGate

name

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

num_qubits

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

pi

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

symmetric

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

Public static functions

Create

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