QNLP  v1.0
QNLP::NCU< SimulatorType >::OptParamsCX Struct Reference

For the 5+ controlled NCX decomposition routines defined within https://arxiv.org/pdf/quant-ph/9503016.pdf. More...

Collaboration diagram for QNLP::NCU< SimulatorType >::OptParamsCX:
Collaboration graph

Data Fields

std::size_t n
 
std::size_t m
 
std::size_t l
 
std::size_t num_ops
 

Detailed Description

template<class SimulatorType>
struct QNLP::NCU< SimulatorType >::OptParamsCX

For the 5+ controlled NCX decomposition routines defined within https://arxiv.org/pdf/quant-ph/9503016.pdf.

n:= number of control lines, n>=5 m:= multi-control gate partition 1, m \in {2,...,n-3} l:= multi-control gate partition 2, l = n-m-1

Definition at line 40 of file ncu.hpp.

Field Documentation

◆ l

template<class SimulatorType >
std::size_t QNLP::NCU< SimulatorType >::OptParamsCX::l

Definition at line 43 of file ncu.hpp.

Referenced by QNLP::NCU< SimulatorType >::find_optimal_params().

◆ m

template<class SimulatorType >
std::size_t QNLP::NCU< SimulatorType >::OptParamsCX::m

Definition at line 42 of file ncu.hpp.

Referenced by QNLP::NCU< SimulatorType >::find_optimal_params().

◆ n

template<class SimulatorType >
std::size_t QNLP::NCU< SimulatorType >::OptParamsCX::n

Definition at line 41 of file ncu.hpp.

◆ num_ops

template<class SimulatorType >
std::size_t QNLP::NCU< SimulatorType >::OptParamsCX::num_ops

Definition at line 44 of file ncu.hpp.

Referenced by QNLP::NCU< SimulatorType >::find_optimal_params().


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