qsim::GateId1

#include <gates_qsim.h>

The one-qubit identity gate.

Summary

Public static attributes

kind = kGateId1
constexpr GateKind
name = "id1"[]
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

kind

constexpr GateKind qsim::GateId1::kind = kGateId1

name

constexpr char qsim::GateId1::name[] = "id1"

num_qubits

constexpr unsigned qsim::GateId1::num_qubits = 1

symmetric

constexpr bool qsim::GateId1::symmetric = true

Public static functions

Create

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