Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
List of all members | Public Attributes
DFEgate_kernel_type Struct Reference

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
 

Detailed Description

Fixed point data related to a gate operation.

Parameters
ThetaValue of Theta/2
PhiValue of Phi
LambdaValue of Lambda
target_qbitQubit on which the gate is applied
control_qbitThe control qubit. For single qubit operations control_qbit=-1
gate_typeGate type according to enumeration of gate_type defined in SQUANDER
metadataThe 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.

Member Data Documentation

◆ control_qbit

int8_t DFEgate_kernel_type::control_qbit

Definition at line 66 of file common_DFE.h.

◆ gate_type

int8_t DFEgate_kernel_type::gate_type

Definition at line 67 of file common_DFE.h.

◆ Lambda

int32_t DFEgate_kernel_type::Lambda

Definition at line 64 of file common_DFE.h.

◆ metadata

uint8_t DFEgate_kernel_type::metadata

Definition at line 68 of file common_DFE.h.

◆ Phi

int32_t DFEgate_kernel_type::Phi

Definition at line 63 of file common_DFE.h.

◆ target_qbit

int8_t DFEgate_kernel_type::target_qbit

Definition at line 65 of file common_DFE.h.

◆ ThetaOver2

int32_t DFEgate_kernel_type::ThetaOver2

Definition at line 62 of file common_DFE.h.


The documentation for this struct was generated from the following file: