Physics[Annihilation] - generate "annihilation" operators acting on a given space of quantum states
Physics[Creation] - generate "creation" operators acting on a given space of quantum states
Annihilation(A, n1, n2, ... notation = ..., phaseconvention = ...)
Creation(A, n1, n2, ... notation = ..., phaseconvention = ...)
a name, as a label; identifies the space of quantum states on which the operator returned acts
n1, n2, ...
positive integers; indicate the position of the quantum numbers on which the operator returned acts
notation = ...
(optional) equation of the form notation = explicit or notation = implicit (default); if explicit, the operator returned explicitly shows the space and quantum numbers onto which it acts
phaseconvention = ...
(optional) equation of the form phaseconvention = procedure where procedure is a procedure of one argument, telling how to construct the phase factor from the quantum number onto which the operator acts (annihilation default: expr; creation default: expr)
The Annihilation and Creation commands return annihilation and creation operators, respectively, which act on the quantum numbers of state vectors, Kets or Bras, of a space of quantum states. The first argument, A, is the label of the basis of quantum states on which the operator returned acts. The second and subsequent arguments are expected to be positive integers indicating the position of the quantum numbers on which the operator returned acts; if not given, it is assumed that there is only one quantum number.
The %Annihilation and %Creation commands are the inert forms of Annihilation and Creation. That is, they represent the same mathematical operations while returning the operators unevaluated. To evaluate the inert operations, use the value command.
By default, the annihilation and creation operators returned are displayed as a− and a+, respectively (in the underlying computational implementation, a− and a+ are local variables that you can invoke in an input line using the global variables `a-` and `a+`). Thus, the default returned operator tells neither the basis of states nor the position of the quantum numbers onto which it acts. You can override this default by using the optional argument notation = explicit. See the Options section for details.
The annihilation and creation operators satisfy the commutation relation, a−,a+−=1, where a−,a+− is the Commutator, unless the label of the basis of states on which the operators act is itself an anticommutative variable, in which case the operators satisfy the anticommutation relation, a−,a++=1, where a−,a++ is the AntiCommutator. When these operators are constructed by calls to Annihilation and Creation, these (anti)commutation relations are automatically set, and so are taken into account by the Commutator and AntiCommutator commands.
Note: Annihilation and creation operators can be created to operate only on Bras and Kets belonging to discrete spaces of states.
The default value is notation = implicit. You can override this value by using the optional argument notation = explicit. This option is useful, for example, to distinguish among various annihilation (or creation) operators within a single worksheet, and to make a− and a+ (entering the returned indexed annihilation and creation operators) be exports of Physics, not local variables. Alternatively, for the same purpose, you can use the alias command. See the Examples for a demonstration.
Given a basis of states with label A, and a single quantum number, n, the annihilation operator satisfies the equation a−⁢A0=0 . So the state vector A0 is defined up to a constant factor. Assuming A0 is normalized to 1, this factor is of the form ⅇi⁢θ with θ real. By requiring, additionally, that A1=c1⁢a+⁢A0, with c1 real and positive, and taking into account the (anti)commutation relation satisfied by a− and a+, the factor c1 is equal to 1.
In the bosonic case, considering now that An=cn⁢a+⁢An−1, by using the same assumptions, the following phase convention arises:
You can override this phase convention with a procedure pc having one argument, by using the optional argument phaseconvention = pc.
In the fermionic case, recalling Pauli's exclusion principle, each quantum number can only assume the values 0 or 1, so:
In the case of many quantum numbers, for example with a− and a+ acting on the nth quantum number qn, let M=∑m=1n−1⁡qm represent the total number of particles occupying states represented by the previous qm quantum numbers. Then the phaseconvention is
The default value for this option in the Annihilation command is phaseconvention = sqrt; the default in the Creation command is phaseconvention = n -> sqrt(n + 1).
Produce annihilation and creation operators for a (discrete) basis of state vectors labeled phi regarding the 1st and 2nd quantum numbers of the Ket state vectors of this basis, respectively.
am ≔ Annihilation⁡φ,1
ap ≔ Creation⁡φ,1
In the above, a- and a+ are local variables. These operators are applied to the Bras and Kets of this space of states by using the Physics[.] scalar product operator.
You can also use the inert form of Commutator, and evaluate the operation by using the value command when desired.
c_am_ap ≔ %Commutator⁡am,ap
Construct one more pair of annihilation and creation operators for a different basis, labeled psi. In order to distinguish this new pair from the one acting on the phi basis, use the optional argument notation = explicit.
am2 ≔ Annihilation⁡ψ,1,notation=explicit
ap2 ≔ Creation⁡ψ,2,notation=explicit
Note that the indices of a− and a+ explicitly show the basis of states and position of quantum numbers on which they act. a- and a+ are are also exports of Physics, not local variables.
The first and second pair of operators constructed only act on state vectors of the basis indicated when the operators were constructed
In order to distinguish between annihilation operators acting on different basis or different quantum numbers, instead of using the option notation = explicit, you can also use an alias.
When the label representing the basis of states is anticommutative, the annihilation and creation operators anticommute. To illustrate the phase convention for fermionic states, consider a case where a− and a+ act on the third quantum number.
am ≔ Annihilation⁡θ,3,notation=explicit
ap ≔ Creation⁡θ,3,notation=explicit
The following is the inert form of AntiCommutator⁡am,ap, and needs to be evaluated by using the value command.
a_am_ap ≔ %AntiCommutator⁡am,ap
In the next example, there is one particle associated with the first quantum number, zero associated with the second quantum number, and a− acts on the third quantum number; so the factor entering the result of the first example is −11=−1.
am_K ≔ `%.`⁡am,Ket⁡θ,1,0,1
am_K ≔ `%.`⁡am,Ket⁡θ,1,1,1
`.`, AntiCommutator, Bra, Bracket, Commutator, Ket, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Setup, type,anticommutative, type,commutative, type,noncommutative, value
Cohen-Tannoudji, C.; Diu, B.; and Laloe, F. Quantum Mechanics. Chapter II. Paris, France: Hermann, 1977.
Download Help Document