BBN-Q / QGL.jl

A performance orientated QGL compiler.
Apache License 2.0
12 stars 5 forks source link

state tomography sequence and helpers #2

Closed dieris closed 7 years ago

caryan commented 7 years ago

create_cal_seqs doesn't work for single qubits

julia> create_cal_seqs((q1,))
2-element Array{Array{QGL.PulseBlock,1},1}:
 QGL.PulseBlock[(Id(q1)),(MEAS(M-q1))⊗(TRIG(digitizerTrig))]
 QGL.PulseBlock[(Id(q1)),(MEAS(M-q1))⊗(TRIG(digitizerTrig))]

julia> 

just happened to work for two qubits because then length(qubits) == length(cal_seqs)

caryan commented 7 years ago

@dieris you're not supposed to be working so late! I already have a different fix.

caryan commented 7 years ago

@dieris if your happy with my tweaks go ahead and merge this.