qsim::Cirq::MatrixGate2

#include <gates_cirq.h>

A two-qubit gate defined entirely by its matrix.

Summary

Public static attributes

kind = kMatrixGate2
constexpr GateKind
name = "MatrixGate2"[]
constexpr char
num_qubits = 2
constexpr unsigned
symmetric = false
constexpr bool

Public static functions

Create(unsigned time, unsigned q0, unsigned q1, M && m)
GateCirq< fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::MatrixGate2::kind = kMatrixGate2

name

constexpr char qsim::Cirq::MatrixGate2::name[] = "MatrixGate2"

num_qubits

constexpr unsigned qsim::Cirq::MatrixGate2::num_qubits = 2

symmetric

constexpr bool qsim::Cirq::MatrixGate2::symmetric = false

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::MatrixGate2::Create(
  unsigned time,
  unsigned q0,
  unsigned q1,
  M && m
)