Expand description
Helper functions for creating common quantum states
Functions§
- minus_
state_ component - Create a complex number representing the |-⟩ state amplitude component
- one_
state - Create a complex number representing the |1⟩ state amplitude
- phase_
factor - Create a phase factor e^(i*theta)
- plus_
state_ component - Create a complex number representing the |+⟩ state amplitude component
- zero_
state - Create a complex number representing the |0⟩ state amplitude