cirq
Cirq is Google Quantum AI's open-source framework for designing, simulating, and running quantum circuits on quantum computers and simulator…
Maintainer K-Dense Inc. · Last updated April 1, 2026
PyTorch Geometric is a library built on PyTorch for developing and training Graph Neural Networks (GNNs). Apply this skill for deep learning on graphs and irregular structures, including mini-batch processing, multi-GPU training, and geometric deep learning applications.
Original source
https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/torch-geometric
Skill Snapshot
Source Doc
Data and HeteroDataA graph lives in a Data object. The key attributes:
edge_index format is critical: it's a [2, num_edges] tensor where edge_index[0] = source nodes, edge_index[1] = target nodes. It is NOT a list of tuples. If you have edge pairs as rows, transpose and call .contiguous():
## Datasets
PyG bundles many standard datasets that auto-download and preprocess:
```python
from torch_geometric.datasets import Planetoid, TUDataset
## Single-graph node classification (Cora, Citeseer, Pubmed)
dataset = Planetoid(root='./data', name='Cora')
data = dataset[0] # single graph with train/val/test masks
Related skills
Cirq is Google Quantum AI's open-source framework for designing, simulating, and running quantum circuits on quantum computers and simulator…
Gtars is a high-performance Rust toolkit for manipulating, analy.
PennyLane is a quantum computing library that enables training quantum computers like neural networks. It provides automatic differentiation…
PufferLib is a high-performance reinforcement learning library designed for fast parallel environment simulation and training. It achieves t…