qsim::GateHd

#include <gates_qsim.h>

The Hadamard gate.

Summary

Public static attributes

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

Public static functions

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

Public static attributes

is2

constexpr fp_type qsim::GateHd::is2 = static_cast(is2_double)

kind

constexpr GateKind qsim::GateHd::kind = kGateHd

name

constexpr char qsim::GateHd::name[] = "h"

num_qubits

constexpr unsigned qsim::GateHd::num_qubits = 1

symmetric

constexpr bool qsim::GateHd::symmetric = true

Public static functions

Create

GateQSim< fp_type > qsim::GateHd::Create(
  unsigned time,
  unsigned q0
)