Skip to content

Commit d6241ac

Browse files
committed
fix typo
1 parent 4bd2e57 commit d6241ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/braket/circuits/result_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def _to_pulse_sequence(self) -> PulseSequence:
124124
Returns:
125125
PulseSequence: A PulseSequence corresponding to the result type.
126126
"""
127-
raise NotImplementedError("_to_pulse_sequence has not been implemented yet.")
127+
return PulseSequence()
128128

129129
def copy(
130130
self,

test/unit_tests/braket/circuits/test_circuit_pulse_sequence.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def test_expectation_value_result_type_on_one_qubit(device):
652652
" waveform q0_q1_cphase_sqrtCPHASE = {0.0, 0.0, 0.0, 0.0};",
653653
" play(q0_q1_cphase_frame, q0_q1_cphase_sqrtCPHASE);",
654654
" shift_phase(q0_rf_frame, -0.1);",
655-
" rx(pi/2) $1;", # FIXME: this need the right basis rotation
655+
" rx(pi/2) $1;", # FIXME: this needs the right basis rotation
656656
" psb[0] = capture_v0(q0_ro_rx_frame);",
657657
" psb[1] = capture_v0(q1_ro_rx_frame);",
658658
"}",
@@ -674,8 +674,8 @@ def test_expectation_value_result_type_on_all_qubits(device):
674674
" waveform q0_q1_cphase_sqrtCPHASE = {0.0, 0.0, 0.0, 0.0};",
675675
" play(q0_q1_cphase_frame, q0_q1_cphase_sqrtCPHASE);",
676676
" shift_phase(q0_rf_frame, -0.1);",
677-
" rx(pi/2) $0;", # FIXME: this need the right basis rotation
678-
" rx(pi/2) $1;", # FIXME: this need the right basis rotation
677+
" rx(pi/2) $0;", # FIXME: this needs the right basis rotation
678+
" rx(pi/2) $1;", # FIXME: this needs the right basis rotation
679679
" psb[0] = capture_v0(q0_ro_rx_frame);",
680680
" psb[1] = capture_v0(q1_ro_rx_frame);",
681681
"}",

0 commit comments

Comments
 (0)