qsim:: Cirq:: ISWAP

#include <gates_cirq.h>

The (exponent = 1, global_shift = 0) instance of ISwapPowGate .

Summary

This is the canonical ISWAP gate.

Public static attributes

h = static_cast (h_double)
constexpr fp_type
is2 = static_cast (is2_double)
constexpr fp_type
kind = kISWAP
constexpr GateKind
name = "ISWAP"[]
constexpr char
num_qubits = 2
constexpr unsigned
symmetric = true
constexpr bool

Public static functions

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

Public static attributes

h

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

is2

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

kind

constexpr GateKind qsim::Cirq::ISWAP::kind = kISWAP

name

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

num_qubits

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

symmetric

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

Public static functions

Create

GateCirq< fp_type > qsim::Cirq::ISWAP::Create(
  unsigned time,
  unsigned q0,
  unsigned q1
)

SchmidtDecomp

schmidt_decomp_type< fp_type > qsim::Cirq::ISWAP::SchmidtDecomp()