Skip to content

Commit 1514e31

Browse files
committed
Eliminate type parameters from abstract types
1 parent 31982ff commit 1514e31

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/abstract_types.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ The state vector class stores an abstract state with respect
2323
to a certain basis. All subtypes must implement the `basis`
2424
method which should this basis as a subtype of `Basis`.
2525
"""
26-
abstract type StateVector{B,T} end
27-
abstract type AbstractKet{B,T} <: StateVector{B,T} end
28-
abstract type AbstractBra{B,T} <: StateVector{B,T} end
26+
abstract type StateVector end
27+
abstract type AbstractKet <: StateVector end
28+
abstract type AbstractBra <: StateVector end
2929

3030
"""
3131
Abstract type for all operators and super operators.
@@ -41,7 +41,7 @@ For fast time evolution also at least the function
4141
implemented. Many other generic multiplication functions can be defined in
4242
terms of this function and are provided automatically.
4343
"""
44-
abstract type AbstractOperator{BL,BR} end
44+
abstract type AbstractOperator end
4545

4646
"""
4747
Base class for all super operator classes.
@@ -57,6 +57,6 @@ A_{bl_1,bl_2} = S_{(bl_1,bl_2) ↔ (br_1,br_2)} B_{br_1,br_2}
5757
A_{br_1,br_2} = B_{bl_1,bl_2} S_{(bl_1,bl_2) ↔ (br_1,br_2)}
5858
```
5959
"""
60-
abstract type AbstractSuperOperator{B1,B2} end
60+
abstract type AbstractSuperOperator end
6161

6262
const AbstractQObjType = Union{<:StateVector,<:AbstractOperator}

0 commit comments

Comments
 (0)