qsim::GateId2

#include <gates_qsim.h>

The two-qubit identity gate.

Summary

Public static attributes

kind = kGateId2
constexpr GateKind
name = "id2"[]
constexpr char
num_qubits = 2
constexpr unsigned
symmetric = true
constexpr bool

Public static functions

Create(unsigned time, unsigned q0, unsigned q1)
GateQSim< fp_type >
SchmidtDecomp()
schmidt_decomp_type< fp_type >

Public static attributes

kind

constexpr GateKind qsim::GateId2::kind = kGateId2

name

constexpr char qsim::GateId2::name[] = "id2"

num_qubits

constexpr unsigned qsim::GateId2::num_qubits = 2

symmetric

constexpr bool qsim::GateId2::symmetric = true

Public static functions

Create

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

SchmidtDecomp

schmidt_decomp_type< fp_type > qsim::GateId2::SchmidtDecomp()