Skip to content

Commit

Permalink
tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
obliviateandsurrender committed Jul 30, 2024
1 parent cb05a04 commit bc5bbe1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2610,31 +2610,31 @@ def test_build_noise_model(self):
pl_model_map = {
op_in("Identity")
& wires_in(0): qml.ThermalRelaxationError(
pe=0.0, t1=26981.9403362283, t2=26034.6676428009, tg=1.0, wires=AnyWires
0.0, 26981.9403362283, 26034.6676428009, 1.0, wires=AnyWires
),
op_in("Identity")
& wires_in(1): qml.ThermalRelaxationError(
pe=0.0, t1=30732.034088541, t2=28335.6514829973, tg=1.0, wires=AnyWires
0.0, 30732.034088541, 28335.6514829973, 1.0, wires=AnyWires
),
(op_in("U1") & wires_in(0))
| (op_in("U1") & wires_in(1)): qml.DepolarizingChannel(
p=0.08999999999999997, wires=AnyWires
),
op_in("U2")
& wires_in(0): qml.ThermalRelaxationError(
pe=0.4998455776, t1=7.8227384666, t2=7.8226559459, tg=1.0, wires=AnyWires
0.4998455776, 7.8227384666, 7.8226559459, 1.0, wires=AnyWires
),
op_in("U2")
& wires_in(1): qml.ThermalRelaxationError(
pe=0.4998644198, t1=7.8227957211, t2=7.8226273195, tg=1.0, wires=AnyWires
0.4998644198, 7.8227957211, 7.8226273195, 1.0, wires=AnyWires
),
op_in("U3")
& wires_in(0): qml.ThermalRelaxationError(
pe=0.4996911588, t1=7.8227934813, t2=7.8226284393, tg=1.0, wires=AnyWires
0.4996911588, 7.8227934813, 7.8226284393, 1.0, wires=AnyWires
),
op_in("U3")
& wires_in(1): qml.ThermalRelaxationError(
pe=0.4997288404, t1=7.8229079927, t2=7.8225711871, tg=1.0, wires=AnyWires
0.4997288404, 7.8229079927, 7.8225711871, 1.0, wires=AnyWires
),
op_in("CNOT")
& wires_in([0, 1]): qml.QubitChannel(
Expand Down

0 comments on commit bc5bbe1

Please sign in to comment.