cgustin99 / OpenParticle

OpenParticle
2 stars 0 forks source link

Change `Fock` class to subclass of `ParticleOperator` #24

Open cgustin99 opened 3 months ago

cgustin99 commented 3 months ago

Change Fock class underlying form from unique class to a subclass of ParticleOperator. For example, the state $|2, 1, 0; ;\rangle$ is analogous to $b_2^\dagger b_1^\dagger b_0^\dagger|v\rangle$ where $|v\rangle$ is the vacuum state. Thus, the Fock state can be represented by ParticleOperator('b2^ b1^ b0^') acting on the vacuum.