File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -202,14 +202,14 @@ mod test {
202
202
assert_eq ! ( output. program. to_quil_or_debug( ) , EXPECTED_H0_OUTPUT ) ;
203
203
}
204
204
205
- const BELL_STATE : & str = r## "DECLARE ro BIT[2]
205
+ const BELL_STATE : & str = r"DECLARE ro BIT[2]
206
206
207
207
H 0
208
208
CNOT 0 1
209
209
210
210
MEASURE 0 ro[0]
211
211
MEASURE 1 ro[1]
212
- "## ;
212
+ " ;
213
213
214
214
#[ tokio:: test]
215
215
async fn test_print_isa ( ) {
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ use std::borrow::Cow;
5
5
use std:: collections:: HashMap ;
6
6
use std:: num:: NonZeroU16 ;
7
7
use std:: sync:: Arc ;
8
- use std:: time:: Duration ;
9
8
10
- use qcs_api_client_common:: configuration:: LoadError ;
9
+
10
+
11
11
use quil_rs:: quil:: ToQuilError ;
12
12
13
13
use crate :: client:: { GrpcClientError , Qcs } ;
Original file line number Diff line number Diff line change @@ -367,6 +367,8 @@ impl RewrittenProgram {
367
367
}
368
368
}
369
369
370
+ pub ( crate ) type Substitutions = IndexSet < Expression > ;
371
+
370
372
#[ cfg( test) ]
371
373
mod describe_rewrite_arithmetic {
372
374
use std:: str:: FromStr ;
@@ -559,5 +561,3 @@ SHIFT-PHASE 0 "rf" __SUBST[0]
559
561
insta:: assert_snapshot!( substitutions[ 0 ] . to_quil_or_debug( ) ) ;
560
562
}
561
563
}
562
-
563
- pub ( crate ) type Substitutions = IndexSet < Expression > ;
You can’t perform that action at this time.
0 commit comments