Quantum Clone Elite Genetic Algorithm-Based Evaluation Mechanism for Maximizing Network Efficiency in Soil Moisture Wireless Sensor Networks
Algorithm 2
. Quantum NOT gate.
Input: The quantum probability amplitude matrix Q, the number of target points n, the number of soil depths y, probability R, random number r between 0 and 1
Output: The updated quantum probability amplitude matrix Q