Search NASA⌕ Search

SEARCH · Search NASA

Results for “tensor contraction”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 91 records · Page 5

Real-space quadrature: A convenient, efficient representation for multipole expansions

Multipoles are central to the theory and modeling of polarizable and nonpolarizable molecular electrostatics. This has made a representation in terms of point charges a highly sought after goal, since rotation of multipoles is a bottleneck in molecular dynamics implementations. All known point charge representations are orders of magnitude less efficient than spherical harmonics due to either using too many fixed charge locations or due to nonlinear fitting of fewer charge locations. We present the first complete solution to this problem—completely replacing spherical harmonic basis functions by a dramatically simpler set of weights associated to fixed, discrete points on a sphere. This representation is shown to be space optimal. It reduces the spherical harmonic decomposition of Poisson’s operator to pairwise summations over the point set. As a corollary, we also shows exact quadrature-based formulas for contraction over trace-free supersymmetric 3D tensors. Moreover, multiplication of spherical harmonic basis functions translates to a direct product in this representation.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

The tensor bi-spectrum in a matter bounce

Matter bounces are bouncing scenarios wherein the universe contracts as in a matter dominated phase at early times. Such scenarios are known to lead to a scale invariant spectrum of tensor perturbations, just as de Sitter inflation does. In this work, we examine if the tensor bi-spectrum can discriminate between the inflationary and the bouncing scenarios. Using the Maldacena formalism, we analytically evaluate the tensor bi-spectrum in a matter bounce for an arbitrary triangular configuration of the wavevectors. We show that, over scales of cosmological interest, the non-Gaussianity parameter h{sub NL} that characterizes the amplitude of the tensor bi-spectrum is quite small when compared to the corresponding values in de Sitter inflation. During inflation, the amplitude of the tensor perturbations freeze on super-Hubble scales, a behavior that results in the so-called consistency condition relating the tensor bi-spectrum and the power spectrum in the squeezed limit. In contrast, in the bouncing scenarios, the amplitude of the tensor perturbations grow strongly as one approaches the bounce, which suggests that the consistency condition will not be valid in such situations. We explicitly show that the consistency relation is indeed violated in the matter bounce. We discuss the implications of the results.

79 ASTRONOMY AND ASTROPHYSICS↗

A PEPS Plugin for TNQVM

This work introduces an extension to the Tensor Network Quantum Virtual Machine (TNQVM) tool, enhancing the existing stack of ExaScale Tensor Network (ExaTN), ExaScale Accelerator (XACC), and TNQVM. It features a new plugin that enables efficient simulation of a Projected Entangled Pair State (PEPS), a 2D tensor network. To improve simulation efficiency for PEPS, we have implemented the snake boundary contraction algorithm. By integrating this capability into the existing stack, we enhance the overall functionality and versatility of the framework. We tested this new PEPS topology for a simple GHZ bell-pair generation quantum circuit and saw that its runtime is very close to that of the MPS topology. We estimate that the real potential of the PEPS topology becomes discernible when quantum circuits with multidimensional entanglement are simulated using tensor networks. In such cases, 1D tensor networks fail to represent or contract them efficiently.

Chundury, Srikar↗

Nanoparticle diffusion in sheared cellular blood flow

Using a multiscale blood flow solver, the complete diffusion tensor of nanoparticles (NPs) in sheared cellular blood flow is calculated over a wide range of shear rate and haematocrit. In the short-time regime, NPs exhibit anomalous dispersive behaviors under high shear and high haematocrit due to the transient elongation and alignment of the red blood cells (RBCs). In the long-time regime, the NP diffusion tensor features high anisotropy. Particularly, there exists a critical shear rate ( ${\sim}100~\text{s}^{-1}$ ) around which the shear-rate dependence of the diffusivity tensor changes from linear to nonlinear scale. Above the critical shear rate, the cross-stream diffusivity terms vary sublinearly with shear rate, while the longitudinal term varies superlinearly. The dependence on haematocrit is linear in general except at high shear rates, where a sublinear scale is found for the vorticity term and a quadratic scale for the longitudinal term. Through analysis of the suspension microstructure and numerical experiments, the nonlinear haemorheological dependence of the NP diffusion tensor is attributed to the streamwise elongation and cross-stream contraction of RBCs under high shear, quantified by a capillary number. The RBC size is shown to be the characteristic length scale affecting the RBC-enhanced shear-induced diffusion (RESID), while the NP submicrometre size exhibits negligible influence on the RESID. Based on the observed scaling behaviours, empirical correlations are proposed to bridge the NP diffusion tensor to specific shear rate and haematocrit. As a result, the characterized NP diffusion tensor provides a constitutive relation that can lead to more effective continuum models to tackle large-scale NP biotransport applications.

60 APPLIED LIFE SCIENCES↗

Computing the Properties of Matter with Leadership Computing Resources (Closeout Report for DE-SC0018121)

In order to add more capabilities to Halide, we have designed a new framework called Tiramisu and integrated this framework into Halide. Since Tiramisu enables Halide to target heterogeneous architectures, our development efforts have been refocused on Tiramisu. Most high-performance computer systems today are complex and increasingly heterogeneous; they may have CPUs, GPUs and FPGAs. Achieving best performance requires taking full advantage of all these different architectures. To address this issue, we have designed Tiramisu, an optimization framework that enables Halide (and other DSLs) to target heterogeneous architectures. Tiramisu is an optimization framework that takes as input a high level, architecture-independent representation of code and a set of scheduling and data mapping commands that guide code transformation. The input can either be generated by a domain-specific language (DSL) compiler such as Halide or directly written by a programmer. Tiramisu then applies the user-specified code and data-layout transformations and generates an architecture-specific, low-level intermediate representation (IR) that takes advantage of modern architectural features such as multicore parallelism, non-uniform memory (NUMA) hierarchies, clusters, and accelerators like GPUs and FPGAs. We integrated Tiramisu within Halide and implemented a representative set of benchmarks to evaluate this integration. Tiramisu is now open source and is available for public use (http://tiramisu-compiler.org/). A paper about Tiramisu was published, it shows that Tiramisu extends Halide with many new capabilities and that Tiramisu can generate efficient code for multicores, GPUs, FPGAs and distributed heterogeneous systems. The performance of code generated by the Tiramisu backends matches or exceeds hand optimized reference implementations. For example, the multicore backend matches the highly optimized Intel MKL library on many kernels and shows speedups reaching 4x over the original Halide. In addition to making Tiramisu more robust, we have used Tiramisu to implement a set of representative tensor operation for constructing baryon building blocks required for multi baryon contractions in LQCD. In order to implement this code, we needed to generalize Tiramisu in two ways: first we needed to support indirect array accesses, and second, we needed to add support for complex numbers to Tiramisu. The code generated by Tiramisu is 6x faster than the reference code. Our efforts towards an MPI based multi-node version of tiramisu have matured and the resulting code scales well on multiple nodes (tests up to 512 KNL nodes have been undertaken).

73 NUCLEAR PHYSICS AND RADIATION PHYSICS↗

torch-einshard v1.0

torch-einshard is a Python library for describing local and distributed PyTorch tensor computations with compact, einsum-like notation. Its expressions name logical axes, specify how they are sharded across a PyTorch DeviceMesh, and represent partial reductions. The library automatically performs contractions, permutations, reshaping, splitting, gathering, reduction, reduce-scatter, and repartitioning while preserving autograd. Additional features include sharding-aware FFTs, tensor rolls, halo exchange, sliding windows, 1D–3D convolutions, uneven-shard handling, parameter initialization and gradient management, and cost-based execution planning. It is designed for scientific machine learning and large-model workloads, including tensor-, sequence-, and spatial-parallel MLPs, attention, convolutions, and spectral operations. Compared with manually combining torch.einsum and distributed collectives, torch-einshard expresses both the mathematical operation and data placement in one readable formula. This reduces boilerplate and synchronization errors, keeps forward and backward communication consistent, and allows the library to select optimized collective strategies without changing model code.

Morozov, Dmitriy [Lawrence Berkeley National Labor↗

Inflation alternative via the gravitational field of a singularity

Abstract We explore the scenario that the observable Universe emerged from the vicinity of a negative mass ring singularity, and all content of the Universe travels at the same group velocity close to the speed of light on a geodesic trajectory along the axis of rotation of the singularity. In appropriate coordinate parametrization and evaluated on the trajectory, we find that the metric tensor in the vicinity of the trajectory exhibits a conformal scale factor a ( η ) with contraction and subsequent expansion properties that solve the horizon problem. We then introduce a static flow of gravitating radiation along the trajectory (perturbatively with respect to the mass scale of the singularity) to model a homogeneous radiation dominated Universe. Solving the Einstein field equations with a physically motivated ansatz of metric perturbation then reveals that the effective conformal scale factor indeed grows asymptotically with the same power law as expected in a conventional radiation dominated Universe.

Astronomy & Astrophysics↗

Cosmological singularities and bounce in Cartan-Einstein theory

We consider a generalized Einstein-Cartan theory, in which we add the unique covariant dimension four operators to general relativity that couples fermionic spin current to the torsion tensor (with an arbitrary strength). Since torsion is local and non-dynamical, when integrated out it yields an effective four-fermion interaction of the gravitational strength. We show how to renormalize the theory, in the one-loop perturbative expansion in generally curved space-times, obtaining the first order correction to the 2PI effective action in Schwinger-Keldysh ( in-in ) formalism. We then apply the renormalized theory to study the dynamics of a collapsing universe that begins in a thermal state and find that—instead of a big crunch singularity—the Universe with torsion undergoes a bounce . We solve the dynamical equations (a) classically (without particle production); (b) including the production of fermions in a fixed background in the Hartree-Fock approximation and (c) including the quantum backreaction of fermions onto the background space-time. In the first and last cases the Universe undergoes a bounce. The production of fermions due to the coupling to a contracting homogeneous background speeds up the bounce, implying that the quantum contributions from fermions is negative, presumably because fermion production contributes negatively to the energy-momentum tensor. When compared with former works on the subject, our treatment is fully microscopic (namely, we treat fermions by solving the corresponding Dirac equations) and quantum (in the sense that we include fermionic loop contributions).

79 ASTRONOMY AND ASTROPHYSICS↗

Matter bounce cosmology with a generalized single field: non-Gaussianity and an extended no-go theorem

We extend the matter bounce scenario to a more general theory in which the background dynamics and cosmological perturbations are generated by a k -essence scalar field with an arbitrary sound speed. When the sound speed is small, the curvature perturbation is enhanced, and the tensor-to-scalar ratio, which is excessively large in the original model, can be sufficiently suppressed to be consistent with observational bounds. Then, we study the primordial three-point correlation function generated during the matter-dominated contraction stage and find that it only depends on the sound speed parameter. Similar to the canonical case, the shape of the bispectrum is mainly dominated by a local form, though for some specific sound speed values a new shape emerges and the scaling behaviour changes. Meanwhile, a small sound speed also results in a large amplitude of non-Gaussianities, which is disfavored by current observations. As a result, it does not seem possible to suppress the tensor-to-scalar ratio without amplifying the production of non-Gaussianities beyond current observational constraints (and vice versa). This suggests an extension of the previously conjectured no-go theorem in single field nonsingular matter bounce cosmologies, which rules out a large class of models. However, the non-Gaussianity results remain as a distinguishable signature of matter bounce cosmology and have the potential to be detected by observations in the near future.

79 ASTRONOMY AND ASTROPHYSICS↗

Effect of chemical pressure on the crystal electric field states of erbium pyrochlore magnets

We have carried out a systematic study of the crystal electric field excitations in the family of cubic pyrochlores Er 2 B 2 O 7 with B=Ge, Ti, Pt, and Sn, using neutron spectroscopy. All members of this family are magnetic insulators based on 4f 11 Er 3+ and nonmagnetic B 4+ . At sufficiently low temperatures, long-range antiferromagnetic order is observed in each of these Er 2 B 2 O 7 pyrochlores. The different ionic sizes associated with different nonmagnetic B 4+ cations correspond to positive or negative chemical pressure, depending on the relative contraction or expansion of the crystal lattice, which gives rise to different local environments at the Er 3+ site. Our results show that the g-tensor components are XY-like for all four members of the Er 2 B 2 O 7 series. However, the XY anisotropy is much stronger for Er 2 Pt 2 O 7 and Er 2 Sn 2 O 7 (g⊥/gz>25) than for Er 2 Ge 2 O 7 and Er 2 Ti 2 O 7 (g⊥/gz<4). The variation in the nature of the XY anisotropy in these systems correlates strongly with their ground states as Er 2 Ge 2 O 7 and Er 2 Ti 2 O 7 order into Γ 5 magnetic structures, whereas Er 2 Pt 2 O 7 and Er 2 Sn 2 O 7 order in the Γ 7 Palmer-Chalker structure.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Spectrum of turbulence in a contracting stream

The spectrum concept is employed to study the selective effect of a stream contraction on the longitudinal and lateral turbulent velocity fluctuations of the stream. By a consideration of the effect of the stream contraction on a single plane sinusoidal disturbance wave, mathematically not dissimilar to a triply periodic disturbance treated by G. I. Taylor, the effect on the spectrum tensor of the turbulence and hence on the correlation tensor is determined.

Ribner, H S↗

Critical assessment of Reynolds stress turbulence models using homogeneous flows

In modeling the rapid part of the pressure correlation term in the Reynolds stress transport equations, extensive use has been made of its exact properties which were first suggested by Rotta. These, for example, have been employed in obtaining the widely used Launder, Reece and Rodi (LRR) model. Some recent proposals have dropped one of these properties to obtain new models. We demonstrate, by computing some simple homogeneous flows, that doing so does not lead to any significant improvements over the LRR model and it is not the right direction in improving the performance of existing models. The reason for this, in our opinion, is that violation of one of the exact properties can not bring in any new physics into the model. We compute thirteen homogeneous flows using LRR (with a recalibrated rapid term constant), IP and SSG models. The flows computed include the flow through axisymmetric contraction; axisymmetric expansion; distortion by plane strain; and homogeneous shear flows with and without rotation. Results show that for most general representation for a model linear in the anisotropic tensor, performs either better or as good as the other two models of the same level.

Shabbir, Aamir↗

Predicting the proximity to macroscopic failure using local strain populations from dynamic in situ X-ray tomography triaxial compression experiments on rocks

Predicting the proximity of large-scale dynamic failure is a critical concern in the engineering and geophysical sciences. Here we use evolving contractive, dilatational, and shear strain deformation preceding failure in dynamic X-ray tomography experiments to examine which strain components best predict the proximity to failure. We develop machine learning models to predict the proximity to failure using time series of three-dimensional local incremental strain tensor fields acquired in rock deformation experiments under stress conditions of the upper crust. Three-dimensional scans acquired in situ throughout triaxial compression experiments provide a distribution of density contrasts from which we estimate the three-dimensional incremental strain that accumulates between each scan acquisition. Training machine learning models on multiple experiments of six rock types provides suites of feature importance that indicate the predictive power of each feature. Comparing the average importance of groups of features that include information about each strain component quantifies the ability of the contractive, dilatational and shear strain to predict the proximity of macroscopic failure. A total of 24 models of four machine learning algorithms with six rock types indicate that 1) the dilatational strain provides the best predictive power of the strain components, and 2) the intermediate values (25th-75th percentile) of the strain population provide the best predictive power of the statistics of the strain populations. In addition, the success of the predictions of models trained on one rock type and tested on other rock types quantifies the similarities and differences of the precursory strain accumulation process in the six rock types. These similarities suggest the potential existence of a unified theory of brittle rock deformation for a range of rock types.

58 GEOSCIENCES↗

Scaling of Magnetic Reconnection in Relativistic Collisionless Pair Plasmas

Using fully kinetic simulations, we study the scaling of the inflow speed of collisionless magnetic reconnection from the non-relativistic to ultra-relativistic limit. In the anti-parallel configuration, the inflow speed increases with the upstream magnetization parameter σ and approaches the light speed when σ>O(100), leading to an enhanced reconnection rate. In all regimes, the divergence of pressure tensor is the dominant term responsible for breaking the frozen-in condition at the x-line. The observed scaling agrees well with a simple model that accounts for the Lorentz contraction of the plasma passing through the diffusion region. The results demonstrate that the aspect ratio of the diffusion region remains ~0.1 in both the non-relativistic and relativistic limits.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Scaling of Magnetic Reconnection in Relativistic Collisionless Pair Plasmas

Using fully kinetic simulations, we study the scaling of the inflow speed of collisionless magnetic reconnection in electron-positron plasmas from the non-relativistic to ultra-relativistic limit. In the anti-parallel configuration, the inflow speed increases with the upstream magnetization parameter sigma and approaches the speed of light when sigma is greater than O(100), leading to an enhanced reconnection rate. In all regimes, the divergence of the pressure tensor is the dominant term responsible for breaking the frozen-in condition at the x-line. The observed scaling agrees well with a simple model that accounts for the Lorentz contraction of the plasma passing through the diffusion region. The results demonstrate that the aspect ratio of the diffusion region, modified by the compression factor of proper density, remains approximately 0.1 in both the non-relativistic and relativistic limits.

plasma↗

Isometric Tensor Network States in Two Dimensions

Tensor-network states (TNS) are a promising but numerically challenging tool for simulating two-dimensional (2D) quantum many-body problems. We introduce an isometric restriction of the TNS ansatz that allows for highly efficient contraction of the network. Here we consider two concrete applications using this ansatz. First, we show that a matrix-product state representation of a 2D quantum state can be iteratively transformed into an isometric 2D TNS. Second, we introduce a 2D version of the time-evolving block decimation algorithm for approximating of the ground state of a Hamiltonian as an isometric TNS-which we demonstrate for the 2D transverse field Ising model.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

High stereographic resolution texture and residual stress evaluation using time-of-flight neutron diffraction

Neutron diffraction texture measurements provide bulk averaged textures with excellent grain orientation statistics, even for large-grained materials, owing to the probed volume being of the order of 1 cm 3 . Furthermore, crystallographic parameters and other valuable microstructure information such as phase fraction, coherent crystallite size, root-mean-square microstrain, macroscopic or intergranular strain and stress, etc. can be derived from neutron diffractograms. A procedure for combined high stereographic resolution texture and residual stress evaluation was established on the pulsed-neutron-source-based engineering materials diffractometer TAKUMI at the Materials and Life Science Experimental Facility of the Japan Proton Accelerator Research Center, through division of the neutron detector panel regions. Pole figure evaluation of a limestone standard sample with a well known texture suggested that the precision obtained for texture measurement is comparable to that of the established neutron beamlines utilized for texture measurement, such as the HIPPO diffractometer at the Los Alamos Neutron Science Center (New Mexico, USA) and the D20 angle-dispersive neutron diffractometer at the Institut Laue–Langevin (Grenoble, France). A high-strength martensite–austenite multilayered steel was employed for further verification of the reliability of simultaneous Rietveld analysis of multiphase textures and macro stress tensors. By using a texture-weighted geometric mean micromechanical (BulkPathGEO) model, a macro stress tensor analysis with a plane stress assumption showed a rolling direction–transverse direction (RD–TD) in-plane compressive stress (about –330 MPa) in the martensite layers and an RD–TD in-plane tensile stress (about 320 MPa) in the austenite layers. The phase stress partitioning was ascribed mainly to the additive effect of the volume expansion during martensite transformation and the linear contraction misfit between austenite layers and newly transformed martensite layers during the water quenching process.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

PyMTensor 1.0.0

SAND2021-1654 O The Python Material Tensor code (PyMTensor) applies crystal symmetries to arbitrary material tensors. It uses symbolic algebra to exactly determine the zero tensor components and the relationships between the nonzero components for all crystallographic point groups. It is capable of computing components of higher-order material tensors needed when treating nonlinear effects. It has a simple and flexible interface for inputting tensor rank information and any known symmetries between tensor indices.Sandia National Laboratories is a multimission laboratory managed and operated by National Technology & Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525.

Jensen, DanielS↗