Skip to content

Commit

Permalink
experiment: binomial code
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontrowbridge committed May 18, 2023
1 parent 45688c9 commit d04014f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/cavity/binomial_code.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using QuantumCollocation
using NamedTrajectories

transmon_levels = 3
cavity_levels = 5

system = MultiModeSystem(transmon_levels, cavity_levels)

g0 = multimode_state("g0", transmon_levels, cavity_levels)
g1 = multimode_state("g1", transmon_levels, cavity_levels)
g4 = multimode_state("g4", transmon_levels, cavity_levels)

ψ_init = [g0, g1]

0 comments on commit d04014f

Please sign in to comment.