qsim:: Cirq:: CX
#include <gates_cirq.h>
The (exponent = 1, global_shift = 0)
instance of CXPowGate.
Summary
This is the canonical CX (or CNOT) gate.
Public static attributes |
|
---|---|
kind = kCX
|
constexpr GateKind
|
name = "kCX"[]
|
constexpr char
|
num_qubits = 2
|
constexpr unsigned
|
symmetric = false
|
constexpr bool
|
Public static functions |
|
---|---|
Create(unsigned time, unsigned q0, unsigned q1)
|
GateCirq< fp_type >
|
SchmidtDecomp()
|
schmidt_decomp_type< fp_type >
|
Public static attributes
kind
constexpr GateKind qsim::Cirq::CX::kind = kCX
name
constexpr char qsim::Cirq::CX::name[] = "kCX"
num_qubits
constexpr unsigned qsim::Cirq::CX::num_qubits = 2
symmetric
constexpr bool qsim::Cirq::CX::symmetric = false
Public static functions
Create
GateCirq< fp_type > qsim::Cirq::CX::Create( unsigned time, unsigned q0, unsigned q1 )
SchmidtDecomp
schmidt_decomp_type< fp_type > qsim::Cirq::CX::SchmidtDecomp()