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 {
202202 assert_eq ! ( output. program. to_quil_or_debug( ) , EXPECTED_H0_OUTPUT ) ;
203203 }
204204
205- const BELL_STATE : & str = r## "DECLARE ro BIT[2]
205+ const BELL_STATE : & str = r"DECLARE ro BIT[2]
206206
207207H 0
208208CNOT 0 1
209209
210210MEASURE 0 ro[0]
211211MEASURE 1 ro[1]
212- "## ;
212+ " ;
213213
214214 #[ tokio:: test]
215215 async fn test_print_isa ( ) {
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ use std::borrow::Cow;
55use std:: collections:: HashMap ;
66use std:: num:: NonZeroU16 ;
77use std:: sync:: Arc ;
8- use std:: time:: Duration ;
98
10- use qcs_api_client_common:: configuration:: LoadError ;
9+
10+
1111use quil_rs:: quil:: ToQuilError ;
1212
1313use crate :: client:: { GrpcClientError , Qcs } ;
Original file line number Diff line number Diff line change @@ -367,6 +367,8 @@ impl RewrittenProgram {
367367 }
368368}
369369
370+ pub ( crate ) type Substitutions = IndexSet < Expression > ;
371+
370372#[ cfg( test) ]
371373mod describe_rewrite_arithmetic {
372374 use std:: str:: FromStr ;
@@ -559,5 +561,3 @@ SHIFT-PHASE 0 "rf" __SUBST[0]
559561 insta:: assert_snapshot!( substitutions[ 0 ] . to_quil_or_debug( ) ) ;
560562 }
561563}
562-
563- pub ( crate ) type Substitutions = IndexSet < Expression > ;
You can’t perform that action at this time.
0 commit comments