Optical XOR logic gate design in two dimensional photonic crystal using ANN and PSO

Farsad Heidari1, Delir Pashabadi1, Mohammad Fathi2

  • 1Department of Electrical Engineering, University of Kurdistan, Sanandaj, Iran.

Scientific Reports
|July 21, 2025
PubMed
Summary

This study introduces an all-optical XOR gate using photonic crystals (PCs), optimized with artificial neural networks (ANN) and particle swarm optimization (PSO). This advancement promises faster, parallel optical computing and logic applications.

Related Concept Videos

Ampere-Maxwell's Law: Problem-Solving01:17

Ampere-Maxwell's Law: Problem-Solving

A parallel-plate capacitor with capacitance C, whose plates have area A and separation distance d, is connected to a resistor R and a battery of voltage V. The current starts to flow at t = 0. What is the displacement current between the capacitor plates at time t? From the properties of the capacitor, what is the corresponding real current?
To solve the problem, we can use the equations from the analysis of an RC circuit and Maxwell's version of Ampère's law.
For the first part of...
759
Design Example: Forces in Sluice Gate01:11

Design Example: Forces in Sluice Gate

In hydraulic engineering, sluice gates are essential for managing water flow through channels, reservoirs, and irrigation systems. Sluice gates, acting as vertical barriers, regulate water by adjusting the gate's opening height, which changes the velocity and pressure of water flowing beneath the gate. Understanding the forces involved is crucial to designing sluice gates that can withstand dynamic pressure differences, especially when the gate is closed or partially open.
Key variables in...
1.4K
Network Function of a Circuit01:25

Network Function of a Circuit

Frequency response analysis in electrical circuits provides vital insights into a circuit's behavior as the frequency of the input signal changes. The transfer function, a mathematical tool, is instrumental in understanding this behavior. It defines the relationship between phasor output and input and comes in four types: voltage gain, current gain, transfer impedance, and transfer admittance. The critical components of the transfer function are the poles and zeros.
392
Ampere's Law: Problem-Solving01:31

Ampere's Law: Problem-Solving

Ampere's law states that for any closed looped path, the line integral of the magnetic field along the path equals the vacuum permeability times the current enclosed in the loop. If the fingers of the right hand curl along the direction of the integration path, the current in the direction of the thumb is considered positive. The current opposite to the thumb direction is considered negative.
Specific steps need to be considered while calculating the symmetric magnetic field distribution...
3.7K
Molecular Orbital Theory II03:51

Molecular Orbital Theory II

Molecular Orbital Energy Diagrams
19.8K
Hybridization of Atomic Orbitals II03:35

Hybridization of Atomic Orbitals II

sp3d and sp3d 2 Hybridization
33.8K