qsim::GateFS

#include <gates_qsim.h>

The fermionic simulation (FSim) 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 = kGateFS
constexpr GateKind
name = "fs"[]
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)
GateQSim< fp_type >
SchmidtDecomp(fp_type theta, fp_type phi)
schmidt_decomp_type< fp_type >

Public static attributes

is2

constexpr fp_type qsim::GateFS::is2 = static_cast(is2_double)

kind

constexpr GateKind qsim::GateFS::kind = kGateFS

name

constexpr char qsim::GateFS::name[] = "fs"

num_qubits

constexpr unsigned qsim::GateFS::num_qubits = 2

symmetric

constexpr bool qsim::GateFS::symmetric = true

Public static functions

Create

GateQSim< fp_type > qsim::GateFS::Create(
  unsigned time,
  unsigned q0,
  unsigned q1,
  fp_type theta,
  fp_type phi
)

SchmidtDecomp

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