qsim::
unitary::
UnitarySpace
#include <unitaryspace.h>
Abstract class containing routines for general unitary matrix manipulations.
Summary
"AVX", "Basic", and "SSE" implementations are provided.
Inheritance
Inherits from: VectorSpace< Impl, For, FP >
Constructors and Destructors |
|
---|---|
UnitarySpace
(ForArgs &&... args)
|
Public types |
|
---|---|
Unitary
|
using
typename Base::Vector
|
fp_type
|
using
typename Base::fp_type
|
Public functions |
|
---|---|
CopyUnitary
(const Unitary & src, Unitary & dest) const
|
void
|
Public static functions |
|
---|---|
CreateUnitary
(unsigned num_qubits)
|
Unitary
|
CreateUnitary
(fp_type *p, unsigned num_qubits)
|
Unitary
|
NullUnitary
()
|
Unitary
|
Size
(unsigned num_qubits)
|
uint64_t
|
Public types
Unitary
typename Base::Vector Unitary
fp_type
typename Base::fp_type fp_type
Public functions
CopyUnitary
void CopyUnitary( const Unitary & src, Unitary & dest ) const
UnitarySpace
UnitarySpace( ForArgs &&... args )
Public static functions
CreateUnitary
Unitary CreateUnitary( unsigned num_qubits )
CreateUnitary
Unitary CreateUnitary( fp_type *p, unsigned num_qubits )
NullUnitary
Unitary NullUnitary()
Size
uint64_t Size( unsigned num_qubits )