qsim::Cirq::ThreeQubitDiagonalGate

#include <gates_cirq.h>

A three-qubit diagonal gate.

Summary

Public static attributes

kind = kThreeQubitDiagonalGate
constexpr GateKind
name = "ThreeQubitDiagonalGate"[]
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, const std::vector< fp_type > & angles)
GateCirq< fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::ThreeQubitDiagonalGate::kind = kThreeQubitDiagonalGate

name

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

num_qubits

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

pi

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

symmetric

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

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::ThreeQubitDiagonalGate::Create(
  unsigned time,
  unsigned q0,
  unsigned q1,
  unsigned q2,
  const std::vector< fp_type > & angles
)