Skip to content

Commit

Permalink
Test for APS2
Browse files Browse the repository at this point in the history
Not sure if this can be extended to APS1
--DR
  • Loading branch information
CoherenceController committed Sep 8, 2016
1 parent a5b8c16 commit 1428454
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion tests/test_Sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,23 @@ def setUp(self):
APS2Helper.__init__(self)
APS2Helper.setUp(self)

def test_mux_CR(self):
#control and CR sharing the same chans
self.channels['cr'].physChan = self.channels['q1'].physChan
self.channels['q1'].frequency = 100e6
self.channels['cr'].frequency = 200e6
ChannelLibrary.channelLib.build_connectivity_graph()
seqs = [CNOT_CR(self.q1, self.q2)]

filenames = compile_to_hardware(seqs, 'CNOT_CR_mux/CNOT_CR_mux')
self.compare_sequences('CNOT_CR_mux')


@unittest.expectedFailure
def test_misc_seqs1(self):
"""
Fails to do nutFreq being set to a very small value (5.0) for the
arb_axis_drag pulse causing a large waveform ampliutde. Previously this
arb_axis_drag pulse causing a large waveform amplitude. Previously this
got phase shifted and then clipped so both chA and chB were railed. With
onboard modulation it gets clipped and then rotated.
"""
Expand Down Expand Up @@ -612,6 +624,10 @@ def test_misc_seqs3(self):
def test_misc_seqs4(self):
TestSequences.test_misc_seqs4(self)

@unittest.expectedFailure
def test_mux_CR(self):
TestSequences.test_mux_CR(self)

@unittest.expectedFailure
def test_AllXY(self):
TestSequences.test_AllXY(self)
Expand Down

0 comments on commit 1428454

Please sign in to comment.