How nkuetemeli/bvns works
BVNs is a research implementation of quantum-interference models for supervised classification and implicit image fitting. The main workflow prepares labeled samples, runs a standard or generalized BVN circuit on a quantum simulator, fits an interference-basis representation from measurement counts, and predicts or reconstructs outputs. The README also highlights reversible-ReLU and rectangle representations, generalized interference bases, and noisy simulation. Some training and circuit details are only partially excerpted, so unverified links are omitted.
Main entry points: bvn_rect_act.py Rectangle BVN · bvn_relu_act.py ReLU experiments · bvn_img_fitting.py Image fitting · dataset.py Dataset preparation
Components 15
Experiment workflows
- ReLU experiments
src/bvn_relu_act.py - Rectangle experiments
src/bvn_rect_act.py - Image fitting
src/bvn_img_fitting.py
Data and results
- Dataset preparation
src/dataset.py - Basis fitting
src/utils.py - Image reconstruction
src/bvn_img_fitting.py
BVN models
- ReLU BVN
src/bvn_relu_act.py - Rectangle BVN
src/bvn_rect_act.py - BV layers
src/bvn_relu_layers.py
Quantum operations
- Reversible ReLU
src/utils_relu.py - Mask operation
src/utils_mask.py - Quantum simulator
- Interference bases
src/utils.py - Noisy simulator
Other components
- Researcher
Connections 20
- Researcher → ReLU experiments: runs experiment
README.md - Researcher → Rectangle experiments: runs experiment
README.md - Researcher → Image fitting: runs fitting
README.md - ReLU experiments → Dataset preparation: loads samples
src/bvn_relu_act.py - Rectangle experiments → Dataset preparation: loads samples
src/bvn_rect_act.py - Image fitting → Dataset preparation: loads image
src/bvn_img_fitting.py - Image fitting → Rectangle BVN: runs model
src/bvn_img_fitting.py - Image fitting → Image reconstruction: reconstructs image
src/bvn_img_fitting.py - ReLU experiments → ReLU BVN: configures model
src/bvn_relu_act.py - Rectangle experiments → Rectangle BVN: configures model
src/bvn_rect_act.py - ReLU BVN → BV layers: builds layers
src/bvn_relu_act.py - BV layers → Reversible ReLU: applies operation
src/bvn_relu_layers.py - Rectangle BVN → Mask operation: applies operation
src/bvn_rect_act.py - ReLU BVN → Quantum simulator: runs circuit
src/bvn_relu_act.py - Rectangle BVN → Quantum simulator: runs circuit
src/bvn_rect_act.py - ReLU experiments → Noisy simulator: configures noise
src/bvn_relu_act.py - Rectangle experiments → Noisy simulator: configures noise
src/bvn_rect_act.py - ReLU BVN → Interference bases: evaluates basis
src/bvn_relu_act.py - Rectangle BVN → Interference bases: evaluates basis
src/bvn_rect_act.py - Basis fitting → Dataset preparation