Qbit
At a glance
Qbitrepresents a spin- (or qubit) product state in the computational basis with support on sites and .Qbitprovides various ways to manipulate product states with methods that transform the product state.Qbitsupports interactions with non-branching operators and can be used as an index for quantum states.Qbitis designed to be the workhorse of exact and Monte Carlo type methods that need to efficiently manipulate computational basis states.
Overview of class
Qbit is a class that has three components: a bitstring represented by an integer, the number of degrees of freedom and a coefficient represented by a complex number.
Together these represent the computational basis states for a spin system. To see this consider a general many body state with L degrees of freedom,
where and can be broken down into its individual degrees of freedom
Where or alternatively and is the total number of degrees of freedom. A Qbit is simply a single term in the summation describing , namely and