diff --git a/frontend/catalyst/third_party/oqc/src/OQCDevice.cpp b/frontend/catalyst/third_party/oqc/src/OQCDevice.cpp index 8c628487b3..340949edb5 100644 --- a/frontend/catalyst/third_party/oqc/src/OQCDevice.cpp +++ b/frontend/catalyst/third_party/oqc/src/OQCDevice.cpp @@ -104,12 +104,6 @@ void OQCDevice::PartialCounts(DataView &eigvals, DataView // After this poitn everything is unsupported auto OQCDevice::AllocateQubit() -> QubitIdType { RT_FAIL("Unsupported functionality"); } void OQCDevice::PrintState() { RT_FAIL("Unsupported functionality"); } -void OQCDevice::SetState(DataView, 1> &) -{ - RT_FAIL("Unsupported functionality"); -} - -void OQCDevice::SetBasisState(const std::size_t) { RT_FAIL("Unsupported functionality"); } void OQCDevice::Counts(DataView &eigvals, DataView &counts, size_t shots) { diff --git a/runtime/include/QuantumDevice.hpp b/runtime/include/QuantumDevice.hpp index 164eef1957..736008130d 100644 --- a/runtime/include/QuantumDevice.hpp +++ b/runtime/include/QuantumDevice.hpp @@ -164,7 +164,7 @@ struct QuantumDevice { */ virtual void SetState(DataView, 1> &, std::vector &wires) { - RT_ASSERT(false); + RT_FAIL("Unsupported functionality"); } /** @@ -172,7 +172,7 @@ struct QuantumDevice { */ virtual void SetBasisState(DataView &, std::vector &wires) { - RT_ASSERT(false); + RT_FAIL("Unsupported functionality"); } /**