qsim::Cirq::CCZ

#include <gates_cirq.h>

The (exponent = 1, global_shift = 0) instance of CCZPowGate.

Summary

This is the canonical doubly-controlled Z gate.

Public static attributes

kind = kCCZ
constexpr GateKind
name = "CCZ"[]
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)
GateCirq< fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::CCZ::kind = kCCZ

name

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

num_qubits

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

pi

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

symmetric

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

Public static functions

Create

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