qsim:: Cirq:: FSimGate

#include <gates_cirq.h>

The fermionic simulation gate family.

Summary

Contains all two-qubit interactions that preserve excitations, up to single-qubit rotations and global phase.

Public static attributes

is2 = static_cast (is2_double)
constexpr fp_type
kind = kFSimGate
constexpr GateKind
name = "FSimGate"[]
constexpr char
num_qubits = 2
constexpr unsigned
symmetric = true
constexpr bool

Public static functions

Create (unsigned time, unsigned q0, unsigned q1, fp_type theta, fp_type phi)
GateCirq < fp_type >
SchmidtDecomp (fp_type theta, fp_type phi)
schmidt_decomp_type< fp_type >

Public static attributes

is2

constexpr fp_type qsim::Cirq::FSimGate::is2 = static_cast(is2_double)

kind

constexpr GateKind qsim::Cirq::FSimGate::kind = kFSimGate

name

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

num_qubits

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

symmetric

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

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::FSimGate::Create(
  unsigned time,
  unsigned q0,
  unsigned q1,
  fp_type theta,
  fp_type phi
)

SchmidtDecomp

schmidt_decomp_type< fp_type > qsim::Cirq::FSimGate::SchmidtDecomp(
  fp_type theta,
  fp_type phi
)