We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff2a7e0 commit 0c69677Copy full SHA for 0c69677
crates/pecos-qis-core/src/ccengine.rs
@@ -25,10 +25,13 @@ use pecos_engines::{
25
use pecos_qis_ffi_types::{Operation, OperationCollector as OperationList, QuantumOp};
26
use pecos_rng::PecosRng;
27
use std::collections::BTreeMap;
28
+use std::thread::JoinHandle;
29
30
+// These imports are only used by PersistentDynamicWorker (Linux only)
31
+#[cfg(not(target_os = "macos"))]
32
use std::sync::Mutex;
33
34
use std::sync::mpsc::{self, Receiver, Sender};
-use std::thread::JoinHandle;
35
36
/// Result from worker thread - returns both the operations and the interface
37
type WorkerResult = Result<(OperationList, BoxedInterface), String>;
0 commit comments