Maestro 0.3.11
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
Simulators::GateFusion< Gate >::Block Struct Reference

#include <GateFusion.h>

Collaboration diagram for Simulators::GateFusion< Gate >::Block:

Public Member Functions

bool IsSingle () const

Public Attributes

Eigen::MatrixXcd matrix
Gate original
bool preserveStructure = false
double schmidtRank = 1.
Sources sources
Types::qubits_vector targets

Detailed Description

template<class Gate>
struct Simulators::GateFusion< Gate >::Block

Definition at line 40 of file GateFusion.h.

Member Function Documentation

◆ IsSingle()

template<class Gate>
bool Simulators::GateFusion< Gate >::Block::IsSingle ( ) const
inline

Definition at line 52 of file GateFusion.h.

References sources.

Member Data Documentation

◆ matrix

template<class Gate>
Eigen::MatrixXcd Simulators::GateFusion< Gate >::Block::matrix

Definition at line 43 of file GateFusion.h.

◆ original

template<class Gate>
Gate Simulators::GateFusion< Gate >::Block::original

Definition at line 44 of file GateFusion.h.

◆ preserveStructure

template<class Gate>
bool Simulators::GateFusion< Gate >::Block::preserveStructure = false

Definition at line 46 of file GateFusion.h.

◆ schmidtRank

template<class Gate>
double Simulators::GateFusion< Gate >::Block::schmidtRank = 1.

Definition at line 50 of file GateFusion.h.

◆ sources

template<class Gate>
Sources Simulators::GateFusion< Gate >::Block::sources

Definition at line 45 of file GateFusion.h.

Referenced by IsSingle().

◆ targets

template<class Gate>
Types::qubits_vector Simulators::GateFusion< Gate >::Block::targets

Definition at line 42 of file GateFusion.h.


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