qsim:: Cirq:: PhasedISwapPowGate

#include <gates_cirq.h>

An ISwapPowGate conjugated by ZPowGate s.

Summary

Equivalent to the composition (Z^-p ⊗ Z^p) ISWAP^t (Z^p ⊗ Z^-p) .

Public static attributes

h = static_cast (h_double)
constexpr fp_type
kind = kPhasedISwapPowGate
constexpr GateKind
name = "PhasedISwapPowGate"[]
constexpr char
num_qubits = 2
constexpr unsigned
pi = static_cast (pi_double)
constexpr fp_type
symmetric = false
constexpr bool

Public static functions

Create (unsigned time, unsigned q0, unsigned q1, fp_type phase_exponent, fp_type exponent)
GateCirq < fp_type >
SchmidtDecomp (fp_type phase_exponent, fp_type exponent)
schmidt_decomp_type< fp_type >

Public static attributes

h

constexpr fp_type qsim::Cirq::PhasedISwapPowGate::h = static_cast(h_double)

kind

constexpr GateKind qsim::Cirq::PhasedISwapPowGate::kind = kPhasedISwapPowGate

name

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

num_qubits

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

pi

constexpr fp_type qsim::Cirq::PhasedISwapPowGate::pi = static_cast(pi_double)

symmetric

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

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::PhasedISwapPowGate::Create(
  unsigned time,
  unsigned q0,
  unsigned q1,
  fp_type phase_exponent,
  fp_type exponent
)

SchmidtDecomp

schmidt_decomp_type< fp_type > qsim::Cirq::PhasedISwapPowGate::SchmidtDecomp(
  fp_type phase_exponent,
  fp_type exponent
)