old_contents: from qgl2.qgl1 import QubitFactory, Id, X
  from qgl2.qgl2 import qgl2decl, sequence, concur, seq
  from qgl2.basic_sequences.qgl2_plumbing import init
  
  @qgl2decl
  def multiQbitTest() -> sequence:
      q1 = QubitFactory('q1')
      q2 = QubitFactory('q2')
  
      with concur:
          with seq:
              init(q1)
              Id(q1)
              X(q1)
          with seq:
              init(q2)
              X(q2)
              Id(q2)
  
  @qgl2decl
  def multiQbitTest2() -> sequence:
      q1 = QubitFactory('q1')
      q2 = QubitFactory('q2')
  
      with concur:
          for q in [q1, q2]:
              init(q)
              Id(q)
              X(q)
  
new_contents: from qgl2.qgl1 import QubitFactory, Id, X, MEAS
  from qgl2.qgl2 import qgl2decl, sequence, concur, seq
  from qgl2.basic_sequences.qgl2_plumbing import init
  
  @qgl2decl
  def multiQbitTest() -> sequence:
      q1 = QubitFactory('q1')
      q2 = QubitFactory('q2')
  
      with concur:
          with seq:
              init(q1)
              Id(q1)
              X(q1)
          with seq:
              init(q2)
              X(q2)
              Id(q2)
  
  @qgl2decl
  def multiQbitTest2() -> sequence:
      q1 = QubitFactory('q1')
      q2 = QubitFactory('q2')
  
      with concur:
          for q in [q1, q2]:
              init(q)
              Id(q)
              X(q)
              MEAS(q)
  
subject: add a measurement to my test so I see the digitizer