Skip to content

Commit

Permalink
introduce default representation
Browse files Browse the repository at this point in the history
  • Loading branch information
apkille committed Dec 22, 2024
1 parent cbe7ae2 commit dfae070
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/express.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
function express end

express(state) = state
express(obj) = obj
express(obj) = express(obj, QuantumOpticsRepr()) # The default representation

"""An abstract type for the supported representation of quantum objects."""
abstract type AbstractRepresentation end
Expand Down

0 comments on commit dfae070

Please sign in to comment.