qsim::Cirq::H

#include <gates_cirq.h>

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

Summary

This is the canonical Hadamard (or H) gate.

Public static attributes

is2 = static_cast(is2_double)
constexpr fp_type
kind = kH
constexpr GateKind
name = "H"[]
constexpr char
num_qubits = 1
constexpr unsigned
symmetric = true
constexpr bool

Public static functions

Create(unsigned time, unsigned q0)
GateCirq< fp_type >

Public static attributes

is2

constexpr fp_type qsim::Cirq::H::is2 = static_cast(is2_double)

kind

constexpr GateKind qsim::Cirq::H::kind = kH

name

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

num_qubits

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

symmetric

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

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::H::Create(
  unsigned time,
  unsigned q0
)