qsim:: Cirq:: MatrixGate1

#include <gates_cirq.h>

A one-qubit gate defined entirely by its matrix.

Summary

Public static attributes

kind = kMatrixGate1
constexpr GateKind
name = "MatrixGate1"[]
constexpr char
num_qubits = 1
constexpr unsigned
symmetric = true
constexpr bool

Public static functions

Create (unsigned time, unsigned q0, const Matrix< fp_type > & m)
GateCirq < fp_type >

Public static attributes

kind

constexpr GateKind qsim::Cirq::MatrixGate1::kind = kMatrixGate1

name

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

num_qubits

constexpr unsigned qsim::Cirq::MatrixGate1::num_qubits = 1

symmetric

constexpr bool qsim::Cirq::MatrixGate1::symmetric = true

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::MatrixGate1::Create(
  unsigned time,
  unsigned q0,
  const Matrix< fp_type > & m
)