$ cat projects/crispr-quantum/method.md
CRISPR networks — method
What the paper did, in its own terms, laid out in the same sections as every method page on this site. Each section cites the pages of the paper it comes from; the threats section is a reading of the paper, not part of it.
question
The paper asks whether neural networks can predict CRISPR gene dependency from the copy number of repeated genes, and whether hybrid quantum-classical networks are viable for that kind of regression problem.
hypothesis
The abstract frames quantum computing as a way past the high-performance-computing limits of large-scale biotechnology data analysis. The results section adds that on real quantum hardware the hybrid models would take about as long as the classical network. Neither expectation was registered before the runs, and the second was not tested: every circuit ran in classical simulation.
data
datasets and systematic screening
The datasets were extracted from the DepMap project and include genetic dependency data (CRISPRGeneDependency) and gene copy-number data (OmicsCNGene), representing the genetic dependencies of hundreds of cancer cell lines. The data were analysed so that there were no redundant records, and the training and test sets were adjusted to allow experiments at different scales. Feature engineering selected the most relevant variables, reducing the dimensionality of the dataset through correlation-based filtering. Figure 2 shows the pipeline of the systematic screening of the relationship between CRISPR gene dependency (Dep) and gene copy number (CNGene) in the CCLE (Cancer Cell Line Encyclopedia) project.
Preprocessing and exploratory data analysis used Pandas, Matplotlib, Seaborn, NumPy, and SciPy. Scatter plots showed the correlations between CRISPR knock-out effects and gene copy-number levels across cell lines, and a Spearman correlation matrix between CRISPR genetic dependency and gene copy number was used to compare diagonal and off-diagonal values. The paper reports a Wilcoxon test with a mean test statistic of 112,246.404 and a mean p-value of 2.64e-43 (printed as 112.246,404 and 2,64e-43), which it interprets as a strong and highly significant association between CRISPR genetic dependency and gene copy number that merits further investigation.
design
model architectures (classical vs hybrid)
Three neural network architectures were built using TensorFlow, Keras, and PennyLane: Classical NNW (14,814 total parameters), Partially Quantum Hybrid NNW (14,790 total parameters), and Fully Quantum Intermediate NNW (14,814 total parameters). All models feature an 8-neuron input layer with ReLU activation and a 6-neuron densely connected output layer.
The Classical NNW consists of an 8-neuron input layer, three hidden dense layers of 8 neurons with ReLU, and a 6-neuron output layer (parameters: 14,544; 72; 72; 72; 54).
The Partially Quantum Hybrid NNW (H-NNW) integrates one quantum intermediate layer built with PennyLane between classical layers (Dense 8, KerasLayer 8 with 48 parameters, Dense 8 with 72 parameters, Dense 8 with 72 parameters, Dense 6 with 54 parameters). The quantum circuit is defined with the qnode function and consists of an AngleEmbedding layer followed by StronglyEntanglingLayers; in the description of Figure 5, the inputs correspond to the RxEntrada qubits, the AngleEmbedding refers to the first three columns (rz, ry and rz theta) with a randomly generated initial theta, the StronglyEntanglingLayers represent the intermediate values (Rz, Ry and Rz theta) associated with the quantum layer's weights, and the final value is obtained by measuring all qubits with the expectation of the Pauli-Z operator.
The Fully Quantum Intermediate NNW (HQNNW) contains three consecutive quantum layers (Dense 8 with 14,544 parameters, followed by three KerasLayer QNodes each of shape (None, 8) and 72 parameters, ending in Dense 6 with 54 parameters).
training and hardware simulation setup
Experiments were developed in Python Notebook using IBM Quantum, PennyLane, and Qiskit. Quantum circuits were executed locally using classical hardware simulation via the PennyLane API to emulate quantum circuit behavior across 20 training epochs.
Tools named in the paper: Python · Python Notebook · IBM Quantum · PennyLane · Qiskit · TensorFlow · Keras · Pandas · NumPy · SciPy · Matplotlib · Seaborn.
metrics
evaluation metrics
Model performance was evaluated using execution time (reported as CPU Time and Wall Time), Accuracy, Loss, Mean Absolute Error (MAE), Mean Squared Error (MSE), Mean Absolute Percentage Error (MAPE), Mean Squared Logarithmic Error (MSLE), Cosine Similarity, Log-cosh, and R2.
statistics
Table 2 reports one value per model and per epoch count. The paper reports no repeated seeds, no confidence intervals and no significance test, so the gaps between models cannot be separated from run-to-run variation.
threats to validity
All three R2 values in Table 2 are negative (-0.5858, -0.0303 and -0.3112), so no model predicted better than the mean of the target. The paper names the negative R2 as a challenge that calls for better modelling and parameter tuning.
The paper defines accuracy as the share of correct predictions but does not say what counts as correct for a continuous target, and the hybrid model's accuracy of 0.9750 sits next to an R2 of -0.0303.
There is no classical baseline beyond one neural network: no mean predictor, linear model or tree ensemble, which is what a negative R2 is usually read against.
reproduce
Not possible from the paper alone: it does not link code or processed data. A second stage that reimplements the networks, adds classical baselines and repeated seeds, and runs on real quantum hardware is under way.
source
Marcus Navarro Gabrich, Henrique Cota de Freitas, Matheus Alcântara Souza. Análise de Redes Neurais para CRISPR: Uma Abordagem com Computação Quântica (Neural Network Analysis for CRISPR: A Quantum Computing Approach). Anais do XXV Simpósio em Sistemas Computacionais de Alto Desempenho (SSCAD 2024). doi:10.5753/sscad.2024.244778