File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ func ExampleMatrix_Project() {
3838
3939 computationalBasis := []* qubit.Qubit {
4040 qubit .From ("00" ),
41+ qubit .From ("01" ),
42+ qubit .From ("10" ),
4143 qubit .From ("11" ),
4244 }
4345
@@ -56,6 +58,16 @@ func ExampleMatrix_Project() {
5658 // [(0+0i) (0+0i) (0+0i) (0+0i)]
5759 // [(0+0i) (0+0i) (0+0i) (0+0i)]
5860 // [(0+0i) (0+0i) (0+0i) (0+0i)]
61+ // [[01][ 1]( 1.0000 0.0000i): 1.0000]: 0.00
62+ // [(0+0i) (0+0i) (0+0i) (0+0i)]
63+ // [(0+0i) (0+0i) (0+0i) (0+0i)]
64+ // [(0+0i) (0+0i) (0+0i) (0+0i)]
65+ // [(0+0i) (0+0i) (0+0i) (0+0i)]
66+ // [[10][ 2]( 1.0000 0.0000i): 1.0000]: 0.00
67+ // [(0+0i) (0+0i) (0+0i) (0+0i)]
68+ // [(0+0i) (0+0i) (0+0i) (0+0i)]
69+ // [(0+0i) (0+0i) (0+0i) (0+0i)]
70+ // [(0+0i) (0+0i) (0+0i) (0+0i)]
5971 // [[11][ 3]( 1.0000 0.0000i): 1.0000]: 0.50
6072 // [(0+0i) (0+0i) (0+0i) (0+0i)]
6173 // [(0+0i) (0+0i) (0+0i) (0+0i)]
You can’t perform that action at this time.
0 commit comments