|
Cytnx v0.9.6
|
#include "Type.hpp"#include "Device.hpp"#include "cytnx_error.hpp"#include <vector>#include <initializer_list>#include <string>#include "Tensor.hpp"#include "UniTensor.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | cytnx |
| Helper function to print vector with ODT: | |
| namespace | cytnx::physics |
| namespace | cytnx::operators |
Macros | |
| #define | kBoltz cytnx_double(1.380649e-23) |
| #define | hPlanck cytnx_double(6.62607015e-34) |
| #define | hBar cytnx_double(1.05457181e-34) |
Functions | |
| Tensor | cytnx::physics::spin (const cytnx_double &S, const std::string &Comp, const int &device=Device.cpu) |
| create Spin-S representation matrix. | |
| Tensor | cytnx::physics::pauli (const std::string &Comp, const int &device=Device.cpu) |
| create Pauli matrix. | |
| UniTensor | cytnx::operators::Sz_shalf (const int &device=Device.cpu, const bool &conserve_qns=false) |
| UniTensor | cytnx::operators::Sp_shalf (const int &device=Device.cpu, const bool &conserve_qns=false, const std::string &aux_dir="r") |
| UniTensor | cytnx::operators::Sn_shalf (const int &device=Device.cpu, const bool &conserve_qns=false, const std::string &aux_dir="r") |
| #define hBar cytnx_double(1.05457181e-34) |
| #define hPlanck cytnx_double(6.62607015e-34) |
| #define kBoltz cytnx_double(1.380649e-23) |