API reference¶
Explore the public building blocks of Piquasso, from programs and simulators to states, connectors, and exceptions.
Core workflow¶
Program
Define and compose photonic quantum programs.
Simulator
Execute programs using the available simulation backends.
Config
Configure numerical precision, cutoffs, validation, and execution options.
Quantum objects¶
Mode
Address individual modes and mode registers.
State
Inspect the quantum states produced by simulations.
Instruction
Apply gates, preparations, measurements, and channels.
Execution results¶
Result
Access samples, states, and metadata returned by simulator runs.
Branch
Work with conditional execution branches and measurement outcomes.
Exceptions
Understand the errors raised by Piquasso.
Advanced components¶
Computer
Use lower-level execution interfaces.
Connector
Connect Piquasso to numerical backends and autodiff frameworks.