qsim:: Cirq:: HPowGate

#include <gates_cirq.h>

A gate that rotates around the X+Z axis of the Bloch sphere.

Summary

This is a generalization of the Hadamard gate.

Public static attributes

is2 = static_cast (is2_double)
constexpr fp_type
kind = kHPowGate
constexpr GateKind
name = "HPowGate"[]
constexpr char
num_qubits = 1
constexpr unsigned
pi = static_cast (pi_double)
constexpr fp_type
symmetric = true
constexpr bool

Public static functions

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

Public static attributes

is2

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

kind

constexpr GateKind qsim::Cirq::HPowGate::kind = kHPowGate

name

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

num_qubits

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

pi

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

symmetric

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

Public static functions

Create

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