qsim::
Cirq::
givens
#include <gates_cirq.h>
The
(phase_exponent = 0.25, exponent = 2*phi/pi)
instance of
PhasedISwapPowGate
.
Summary
This is the "Givens rotation" from numerical linear algebra. This is a function in Cirq.
Public static attributes |
|
---|---|
h
= static_cast
|
constexpr fp_type
|
kind
= kgivens
|
constexpr GateKind
|
name
= "givens"[]
|
constexpr char
|
num_qubits
= 2
|
constexpr unsigned
|
pi
= static_cast
|
constexpr fp_type
|
symmetric
= false
|
constexpr bool
|
Public static functions |
|
---|---|
Create
(unsigned time, unsigned q0, unsigned q1, fp_type phi)
|
GateCirq
< fp_type >
|
SchmidtDecomp
(fp_type phi)
|
schmidt_decomp_type< fp_type >
|
Public static attributes
h
constexpr fp_type qsim::Cirq::givens::h = static_cast(h_double)
kind
constexpr GateKind qsim::Cirq::givens::kind = kgivens
name
constexpr char qsim::Cirq::givens::name[] = "givens"
num_qubits
constexpr unsigned qsim::Cirq::givens::num_qubits = 2
pi
constexpr fp_type qsim::Cirq::givens::pi = static_cast(pi_double)
symmetric
constexpr bool qsim::Cirq::givens::symmetric = false
Public static functions
Create
GateCirq< fp_type > qsim::Cirq::givens::Create( unsigned time, unsigned q0, unsigned q1, fp_type phi )
SchmidtDecomp
schmidt_decomp_type< fp_type > qsim::Cirq::givens::SchmidtDecomp( fp_type phi )