issues
search
DVLab-NTU
/
qsyn
A C++-based growing software system for synthesizing, optimizing, and verifying quantum circuits
Apache License 2.0
166
stars
15
forks
source link
Replace qpp with xtensor (SK)
#73
Closed
chinyi0523
closed
6 months ago
chinyi0523
commented
6 months ago
1. Supporting the function in qpp
[x] trace
[x] eigen
[x] determinant
List
qpp
xtensor
qsyn support
real
xt::real(a)
real
imag
xt::imag(a)
imag
conjugate
xt::conj(a)
conjugate+transpose = adjoint
transpose
xt::transpose(a, {1, 0, 2})
transpose
adjoint
adjoint
determinant
xt::linalg::det(a)
TODO
trace
xt::linalg::trace(a)
TODO
eigenvectors, eigenvalues
xt::linalg::eig(a)
TODO
read matrix
tensor_read
write matrix
tensor_write
disp
print
2. Replace qpp with xtensor and move the file into
tensor/
1. Supporting the function in qpp
List
2. Replace qpp with xtensor and move the file into
tensor/