qsim:: GateCNot

#include <gates_qsim.h>

The controlled-X (CX or CNOT) gate.

Summary

Public static attributes

kind = kGateCNot
constexpr GateKind
name = "cnot"[]
constexpr char
num_qubits = 2
constexpr unsigned
symmetric = false
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::GateCNot::kind = kGateCNot

name

constexpr char qsim::GateCNot::name[] = "cnot"

num_qubits

constexpr unsigned qsim::GateCNot::num_qubits = 2

symmetric

constexpr bool qsim::GateCNot::symmetric = false

Public static functions

Create

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

SchmidtDecomp

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