Tutorials¶
These tutorials introduce the main workflows in Piquasso, from basic program construction to sampling, differentiable simulations, and application-oriented examples.
First steps¶
Getting started
Build and execute a first Piquasso program.
Modularity in Piquasso
Compose programs, reuse circuit fragments, and define custom gates.
Sampling experiments¶
Boson Sampling
Simulate Boson Sampling circuits with particle-number input states.
Gaussian Boson Sampling
Simulate Gaussian Boson Sampling circuits and inspect the resulting samples.
Differentiable workflows¶
Quantum Neural Network layers
Use Piquasso with TensorFlow in a trainable continuous-variable workflow.
Using JAX with Piquasso
Learn a simple state-learning example using JAX and Piquasso.
Applications and benchmarking¶
Dense k-subgraph problem
Use Gaussian Boson Sampling to study the dense k-subgraph problem.
Linear cross-entropy benchmarking
Run a simple linear cross-entropy benchmarking example.