qsim::GateCZ

#include <gates_qsim.h>

The controlled-Z (CZ) gate.

Summary

Public static attributes

kind = kGateCZ
constexpr GateKind
name = "cz"[]
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::GateCZ::kind = kGateCZ

name

constexpr char qsim::GateCZ::name[] = "cz"

num_qubits

constexpr unsigned qsim::GateCZ::num_qubits = 2

symmetric

constexpr bool qsim::GateCZ::symmetric = true

Public static functions

Create

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

SchmidtDecomp

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