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 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
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-04-29 UTC."],[],[]]