Search NASA⌕ Search

SEARCH · Search NASA

Results for “binary operation”

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 19 records

Binary operations on neuromorphic hardware with application to linear algebraic operations and stochastic equations

Abstract Non-von Neumann computational hardware, based on neuron-inspired, non-linear elements connected via linear, weighted synapses—so-called neuromorphic systems—is a viable computational substrate. Since neuromorphic systems have been shown to use less power than CPUs for many applications, they are of potential use in autonomous systems such as robots, drones, and satellites, for which power resources are at a premium. The power used by neuromorphic systems is approximately proportional to the number of spiking events produced by neurons on-chip. However, typical information encoding on these chips is in the form of firing rates that unarily encode information. That is, the number of spikes generated by a neuron is meant to be proportional to an encoded value used in a computation or algorithm. Unary encoding is less efficient (produces more spikes) than binary encoding. For this reason, here we present neuromorphic computational mechanisms for implementing binary two’s complement operations. We use the mechanisms to construct a neuromorphic, binary matrix multiplication algorithm that may be used as a primitive for linear differential equation integration, deep networks, and other standard calculations. We also construct a random walk circuit and apply it in Brownian motion simulations. We study how both algorithms scale in circuit size and iteration time.

97 MATHEMATICS AND COMPUTING↗

Spin wave based parallel logic operations for binary data coded with domain walls

We numerically investigate the feasibility of spin wave (SW) based parallel logic operations, where the phase of SW packet (SWP) is exploited as a state variable and the phase shift caused by the interaction with domain wall (DW) is utilized as a logic inversion functionality. A designed functional element consists of parallel ferromagnetic nanowires (6 nm-thick, 36 nm-width, 5120 nm-length, and 200 nm separation) with the perpendicular magnetization and sub-μm scale overlaid conductors. The logic outputs for binary data, coded with the existence (“1”) or absence (“0”) of the DW, are inductively read out from interferometric aspect of the superposed SWPs, one of them propagating through the stored data area. A practical exclusive-or operation, based on 2π periodicity in the phase logic, is demonstrated for the individual nanowire with an order of different output voltage V{sub out}, depending on the logic output for the stored data. The inductive output from the two nanowires exhibits well defined three different signal levels, corresponding to the information distance (Hamming distance) between 2-bit data stored in the multiple nanowires.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

Efficient Memory Access with NumPy Global Arrays using Local Memory Access

This paper discusses the work completed working with Global Arrays of data on distributed multi-computer systems and improving their performance. The tasks completed were done at Pacific Northwest National Laboratory in the Science Undergrad Laboratory Internship program in the summer of 2013 for the Data Intensive Computing Group in the Fundamental and Computational Sciences DIrectorate. This work was done on the Global Arrays Toolkit developed by this group. This toolkit is an interface for programmers to more easily create arrays of data on networks of computers. This is useful because scientific computation is often done on large amounts of data sometimes so large that individual computers cannot hold all of it. This data is held in array form and can best be processed on supercomputers which often consist of a network of individual computers doing their computation in parallel. One major challenge for this sort of programming is that operations on arrays on multiple computers is very complex and an interface is needed so that these arrays seem like they are on a single computer. This is what global arrays does. The work done here is to use more efficient operations on that data that requires less copying of data to be completed. This saves a lot of time because copying data on many different computers is time intensive. The way this challenge was solved is when data to be operated on with binary operations are on the same computer, they are not copied when they are accessed. When they are on separate computers, only one set is copied when accessed. This saves time because of less copying done although more data access operations were done.

Daily, Jeffrey A.↗

Dynamic Process Intensification of Binary Distillation via Periodic Operation

This paper applies the concept of dynamic intensification (defined as changes to the dynamics, operation strategy, and/or control of a process that lead to a substantially more efficient processing path) to binary distillation columns. The resulting strategy consists of manufacturing a target product as a blend of two auxiliary products, both having lower energy demands than a reference value, which corresponds to producing the target product(s) in a column operating at steady state. Here, a discussion of the appropriate control structures and switching strategies between the two auxiliary products is provided. An extensive case study concerning the separation of a methanol–1-propanol mixture was carried out, demonstrating that energy savings in the order of 1.4% are possible with no disruption in product quality or production rate.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Pagoda

Pagoda is a set of parallel tools as well as an application programmer interface for parallel data analysis of high-resolution climate data. Pagoda implements data parallel versions of some of the commonly used tools from the NetCDF Operators. These tools support data processing operations including subsetting, record and ensemble averages, binary operations, and interpolation. Pagoda also provides an application programmer interface for developing custom data analysis programs.

Source record↗

Pagoda

Pagoda is a set of parallel tools as well as an application programmer interface for parallel data analysis of high-resolution climate data. Pagoda implements data parallel versions of some of the commonly used tools from the NetCDF Operators. These tools support data processing operations including subsetting, record and ensemble averages, binary operations, and interpolation. Pagoda also provides an application programmer interface for developing custom data analysis programs.

Source record↗

numericalFunctions

The numericalFunction C library is designed to handle point-wise interpolative data representing a mathematical function. The library currently handles 1-d functions (i.e., functions of the format f(x)). The main object is the ptwXYPoints C struct that holds list of x,y pairs sorted by ascending x-values with an interpolation rule. That is, it contains the 1-d function f(x) = y(x). Functions are included that support common unitary and binary operations (e.g., negation, addition, multiplication). As example, if f(x) and g(x) are two ptwXYPoints instances, then routines to calculate f(x) + g(x) and f(x) * g(x) are included. The library support storage of data with lin-lin, lin-log, log-lin, log-log and flat (or histogram) interpolation. Functions to convert any of the supported interpolation to lin-lin are included. However, many of the binary functions only support lin-lin interpolation. The library also contains a C struct for storing a Legendre series representation of a 1-d function, and functions to convert Legendre series to and from a ptwXYPoints instance. A python interface to the library is included, with the ptwXYPoints C struct treated as a class. This class has many of the standard python math methods (e.g., __add__, __mul__).

Beck, Bret↗

Deterministic symbolic regression with derivative information: General methodology and application to equations of state

Symbolic regression methods simultaneously determine the model functional form and the regression parameter values by generating expression trees. Symbolic regression can capture the complexity of real–world phenomena but the use of deterministic optimization for symbolic regression has been limited due to the complexity of the search space of existing formulations. Herein we present a novel deterministic mixed–integer nonlinear programming formulation for symbolic regression that incorporates derivative constraints through auxiliary expression trees. By applying the chain rule to mathematical operations, binary expression trees are capable of representing the calculation of first and second derivatives. We apply this formulation to illustrative examples using derivative information to show increased model discrimination capability. In addition, we perform a case study of a thermodynamic equation of state to gain insight on valid functional forms with thermodynamics–based constraints on the first and second derivatives.

37 INORGANIC, ORGANIC, PHYSICAL, AND ANALYTICAL CH↗

Algebraically Compact Abelian Groups with UA-Rings of Endomorphisms

A ring K is said to be a unique addition ring (UA-ring) if on its multiplicative semigroup (K, ·) it is possible to set only one binary operation of + turning (K, ·, +) into a ring. We call an Abelian group an End-UA-group if its endomorphism ring is a UA-ring. In this paper, End-UA-groups are found in a class of algebraically compact Abelian groups.

97 MATHEMATICS AND COMPUTING↗

On the UA-Properties of Abelian sp-Groups and Their Endomorphism Rings

An R-module A is said to be a UA-module if it is not possible to change the addition of A without changing the action of R on A. A semigroup (R, ·) is said to be a UA-ring if there exists a unique binary operation + making (R, ·, +) into a ring. In this paper, the UA-properties of sp-groups and their endomorphism rings are studied.

97 MATHEMATICS AND COMPUTING↗

Implementation of a Binary Neural Network on a Passive Array of Magnetic Tunnel Junctions

The increasing scale of neural networks and their growing application space have produced demand for more energy- and memory-efficient artificial-intelligence-specific hardware. Avenues to mitigate the main issue, the von Neumann bottleneck, include in-memory and near-memory architectures, as well as algorithmic approaches. In this report we leverage the low-power and the inherently binary operation of magnetic tunnel junctions (MTJs) to demonstrate neural network hardware inference based on passive arrays of MTJs. In general, transferring a trained network model to hardware for inference is confronted by degradation in performance due to device-to-device variations, write errors, parasitic resistance, and nonidealities in the substrate. To quantify the effect of these hardware realities, we benchmark 300 unique weight matrix solutions of a two-layer perceptron to classify the Wine dataset for both classification accuracy and write fidelity. Despite device imperfections, we achieve software-equivalent accuracy of up to 95.3% with proper tuning of network parameters in 15 x 15 MTJ arrays having a range of device sizes. The success of this tuning process shows that new metrics are needed to characterize the performance and quality of networks reproduced in mixed signal hardware.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

P2355R0: Postfix fold expressions

Fold expressions work with binary operators, but not with unary operators: you can write !!…!!x, but there’s still only one x. However, there are other kinds of operators to which they might apply. In particular, there are several plausible use cases for the postfix operators [ ] and ( ) (function call). This paper proposes extending the fold-expression syntax to support these two operators. The rationale for the syntactical structure is also presented.

97 MATHEMATICS AND COMPUTING↗

An evidential path logic for multi-relational networks

Multi-relational networks are used extensively to structure knowledge. Perhaps the most popular instance, due to the widespread adoption of the Semantic Web, is the Resource Description Framework (RDF). One of the primary purposes of a knowledge network is to reason; that is, to alter the topology of the network according to an algorithm that uses the existing topological structure as its input. There exist many such reasoning algorithms. With respect to the Semantic Web, the bivalent, axiomatic reasoners of the RDF Schema (RDFS) and the Web Ontology Language (OWL) are the most prevalent. However, nothing prevents other forms of reasoning from existing in the Semantic Web. This article presents a non-bivalent, non-axiomatic, evidential logic and reasoner that is an algebraic ring over a multi-relational network and two binary operations that can be composed to perform various forms of inference. Given its multi-relational grounding, it is possible to use the presented evidential framework as another method for structuring knowledge and reasoning in the Semantic Web. The benefits of this framework are that it works with arbitrary, partial, and contradictory knowledge while, at the same time, supporting a tractable approximate reasoning process.

99 GENERAL AND MISCELLANEOUS↗

Quantum-parallel vectorized data encodings and computations on trapped-ion and transmon QPUs

Compact data representations in quantum systems are crucial for the development of quantum algorithms for data analysis. In this study, we present two innovative data encoding techniques, known as QCrank and QBArt, which exhibit significant quantum parallelism via uniformly controlled rotation gates. The QCrank method encodes a series of real-valued data as rotations on data qubits, resulting in increased storage capacity. On the other hand, QBArt directly incorporates a binary representation of the data within the computational basis, requiring fewer quantum measurements and enabling well-established arithmetic operations on binary data. We showcase various applications of the proposed encoding methods for various data types. Notably, we demonstrate quantum algorithms for tasks such as DNA pattern matching, Hamming weight computation, complex value conjugation, and the retrieval of a binary image with 384 pixels, all executed on the Quantinuum trapped-ion QPU. Furthermore, we employ several cloud-accessible QPUs, including those from IBMQ and IonQ, to conduct supplementary benchmarking experiments.

97 MATHEMATICS AND COMPUTING↗

Summary of Historical Production for Nevada Binary Facilities

The analysis described was initiated to validate inputs used in the US Department of Energy’s (DOE) economic modeling tool GETEM (Geothermal Electricity Technology Evaluation Model) by using publically available data to identify production trends at operating geothermal binary facilities in the state of Nevada. Data required for this analysis was obtained from the Nevada Bureau of Mines and Geology (NBMG), whom received the original operator reports from the Nevada Division of Minerals (NDOM). The data from the NBMG was inputted into Excel files that have been uploaded to the DOE’s National Geothermal Data System (NGDS). Once data was available in an Excel format, production trends for individual wells and facilities could be established for the periods data was available (thru 2009). Additionally, this analysis identified relationships existing between production (temperature and flow rates), power production and plant conversion efficiencies. The data trends showed that temperature declines have a significant impact on power production, and that in some instances operators increased production flow rate to offset power declines. The production trends with time that were identified are being used to update GETEM’s default inputs.

15 GEOTHERMAL ENERGY↗

Magnetic reconnection in high-energy-density laser-produced plasmas

Recently, novel experiments on magnetic reconnection have been conducted in laser-produced plasmas in a high-energy-density regime. Individual plasma bubbles self-generate toroidal, mega-gauss-scale magnetic fields through the Biermann battery effect. When multiple bubbles are created at small separation, they expand into one another, driving reconnection of this field. Reconnection in the experiments was reported to be much faster than allowed by both Sweet-Parker, and even Hall-MHD theories, when normalized to the nominal magnetic fields self-generated by single bubbles. Through particle-in-cell simulations (both with and without a binary collision operator), we model the bubble interaction at parameters and geometry relevant to the experiments. This paper discusses in detail the reconnection regime of the laser-driven experiments and reports the qualitative features of simulations. We find substantial flux-pileup effects, which boost the relevant magnetic field for reconnection in the current sheet. When this is accounted for, the normalized reconnection rates are much more in line with standard two-fluid theory of reconnection. At the largest system sizes, we additionally find that the current sheet is prone to breakup into plasmoids.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Transport formulation of the gyrokinetic turbulence

Nonlinear gyrokinetic equation is formulated in the Fokker-Planck form that puts the effects of the turbulent wave scattering into the divergence of a diffusive-convective flux in the phase space, unified with the binary collision operator. The macroscopic transport fluxes of the particle and heat transport due to the gyrokinetic turbulence are systematically derived, with the diffusive and convective fluxes and the nonlinear turbulence heating rate identified. The proposed theory includes the ponderomotive effects on the turbulent convection and heating, which were not included in the previous quasilinear theory.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

Dynamics on modular networks with heterogeneous correlations

We develop a new ensemble of modular random graphs in which degree-degree correlations can be different in each module, and the inter-module connections are defined by the joint degree-degree distribution of nodes for each pair of modules. We present an analytical approach that allows one to analyze several types of binary dynamics operating on such networks, and we illustrate our approach using bond percolation, site percolation, and the Watts threshold model. The new network ensemble generalizes existing models (e.g., the well-known configuration model and Lancichinetti-Fortunato-Radicchi networks) by allowing a heterogeneous distribution of degree-degree correlations across modules, which is important for the consideration of nonidentical interacting networks.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗