Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Fixed point data related to a gate operation. More...
#include <common_DFE.h>
Public Attributes | |
int8_t | control_qbit |
int8_t | gate_type |
int32_t | Lambda |
uint8_t | metadata |
int32_t | Phi |
int8_t | target_qbit |
int32_t | ThetaOver2 |
Fixed point data related to a gate operation.
Theta | Value of Theta/2 |
Phi | Value of Phi |
Lambda | Value of Lambda |
target_qbit | Qubit on which the gate is applied |
control_qbit | The control qubit. For single qubit operations control_qbit=-1 |
gate_type | Gate type according to enumeration of gate_type defined in SQUANDER |
metadata | The most significat bit is set to 1 for derivated gate operation. Set the (8-i)-th bit to 1 if the i-th element of the 2x2 gate kernel should be zero in the derivated gate operation. (If the 0st and 3nd element in kernel matrix should be zero then metadat should be 5 + (1<<7), since 5 = 0101. The the leading 1<<7 bit indicates that a derivation is processed.) |
Definition at line 61 of file common_DFE.h.
int8_t DFEgate_kernel_type::control_qbit |
Definition at line 66 of file common_DFE.h.
int8_t DFEgate_kernel_type::gate_type |
Definition at line 67 of file common_DFE.h.
int32_t DFEgate_kernel_type::Lambda |
Definition at line 64 of file common_DFE.h.
uint8_t DFEgate_kernel_type::metadata |
Definition at line 68 of file common_DFE.h.
int32_t DFEgate_kernel_type::Phi |
Definition at line 63 of file common_DFE.h.
int8_t DFEgate_kernel_type::target_qbit |
Definition at line 65 of file common_DFE.h.
int32_t DFEgate_kernel_type::ThetaOver2 |
Definition at line 62 of file common_DFE.h.