Quantum 3xplorer (Q3)
An AI-native quantum simulation engine
Loading...
Searching...
No Matches
harmonics.hpp File Reference
#include <algorithm>
#include <array>
#include <cmath>
#include <stdexcept>
#include <string>
#include <vector>
#include "layer_0_core/math/tolerances.hpp"
#include "layer_0_core/types/init.hpp"

Go to the source code of this file.

Namespaces

namespace  q3
 

Functions

Real q3::compute_real_spherical_harmonic (int degree, int order, const Vector3D &direction)
 
void q3::compute_real_spherical_harmonics_batch (int number_of_lm_components, int number_of_g_vectors, const std::vector< std::array< Real, 3 > > &g_vectors, const std::vector< Real > &g_squared, std::vector< std::vector< Real > > &spherical_harmonics_values)
 
void q3::compute_spherical_harmonic_derivatives_batch (int number_of_lm_components, int number_of_g_vectors, const std::vector< std::array< Real, 3 > > &g_vectors, const std::vector< Real > &g_squared, int polarization_index, std::vector< std::vector< Real > > &spherical_harmonic_derivatives)
 
int q3::harmonic_combined_degree_order_index (int degree, int order)
 
std::vector< int > q3::harmonic_order_sequence (int degree)