Other packages > Find by keyword >

QGA  

Quantum Genetic Algorithm
View on CRAN: Click here


Download and install QGA package within the R console
Install from CRAN:
install.packages("QGA")

Install from Github:
library("remotes")
install_github("cran/QGA")

Install by package version:
library("remotes")
install_version("QGA", "1.0")



Attach the package and use:
library("QGA")
Maintained by
Giulio Barcaroli
[Scholar Profile | Author Map]
First Published: 2024-05-31
Latest Update: 2024-05-31
Description:
Function that implements the Quantum Genetic Algorithm, first proposed by Han and Kim in 2000. This is an R implementation of the 'python' application developed by Lahoz-Beltra(<https://github.com/ResearchCodesHub/QuantumGeneticAlgorithms>). Each optimization problem is represented as a maximization one, where each solution is a sequence of (qu)bits. Following the quantum paradigm, these qubits are in a superposition state: when measuring them, they collapse in a 0 or 1 state. After measurement, the fitness of the solution is calculated as in usual genetic algorithms. The evolution at each iteration is oriented by the application of two quantum gates to the amplitudes of the qubits: (1) a rotation gate (always); (2) a Pauli-X gate (optionally). The rotation is based on the theta angle values: higher values allow a quicker evolution, and lower values avoid local maxima. The Pauli-X gate is equivalent to the classical mutation operator and determines the swap between alfa and beta amplitudes of a given qubit. The package has been developed in such a way as to permit a complete separation between the engine, and the particular problem subject to combinatorial optimization.
How to cite:
Giulio Barcaroli (2024). QGA: Quantum Genetic Algorithm. R package version 1.0, https://cran.r-project.org/web/packages/QGA. Accessed 14 Apr. 2025.
Previous versions and publish date:
No previous versions
Other packages that cited QGA R package
View QGA citation profile
Other R packages that QGA depends, imports, suggests or enhances
Complete documentation for QGA
Functions, R codes and Examples using the QGA R package
Full QGA package functions and examples
Downloads during the last 30 days
03/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/12Downloads for QGA0510152025303540455055TrendBars

Today's Hot Picks in Authors and Packages

bcf  
Causal Inference using Bayesian Causal Forests
Causal inference for a binary treatment and continuous outcome using Bayesian Causal Forests. See Ha ...
Download / Learn more Package Citations See dependency  
networkscaleup  
Network Scale-Up Models for Aggregated Relational Data
Provides a variety of Network Scale-up Models for researchers to analyze Aggregated Relational Data, ...
Download / Learn more Package Citations See dependency  
mlim  
Single and Multiple Imputation with Automated Machine Learning
Machine learning algorithms have been used for performing single missing data imputation and most r ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
spatstat.utils  
Utility Functions for 'spatstat'
Contains utility functions for the 'spatstat' family of packages which may also be useful for other ...
Download / Learn more Package Citations See dependency  
AzureKeyVault  
Key and Secret Management in 'Azure'
Manage keys, certificates, secrets, and storage accounts in Microsoft's 'Key Vault' service: ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,993

Author Associations

24,013

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA