qsim::
Cirq::
XPowGate
#include <gates_cirq.h>
A gate that rotates around the X axis of the Bloch sphere.
Summary
This is a generalization of the X gate.
Inheritance
Direct Known Subclasses: qsim::Cirq::X< fp_type >
Public static attributes |
|
---|---|
kind
= kXPowGate
|
constexpr GateKind
|
name
= "XPowGate"[]
|
constexpr char
|
num_qubits
= 1
|
constexpr unsigned
|
pi
= static_cast
|
constexpr fp_type
|
symmetric
= true
|
constexpr bool
|
Public static functions |
|
---|---|
Create
(unsigned time, unsigned q0, fp_type exponent, fp_type global_shift)
|
GateCirq
< fp_type >
|
Public static attributes
kind
constexpr GateKind qsim::Cirq::XPowGate::kind = kXPowGate
name
constexpr char qsim::Cirq::XPowGate::name[] = "XPowGate"
num_qubits
constexpr unsigned qsim::Cirq::XPowGate::num_qubits = 1
pi
constexpr fp_type qsim::Cirq::XPowGate::pi = static_cast(pi_double)
symmetric
constexpr bool qsim::Cirq::XPowGate::symmetric = true
Public static functions
Create
GateCirq< fp_type > qsim::Cirq::XPowGate::Create( unsigned time, unsigned q0, fp_type exponent, fp_type global_shift )