Skip to content

Commit

Permalink
Pass QrackDevice kwargs into PyQrack QrackSimulator()
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Apr 23, 2022
1 parent 146833c commit aded896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane_qrack/qrack_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class QrackDevice(QubitDevice):
def __init__(self, wires, shots=None, **kwargs):
super().__init__(wires=wires, shots=shots)

self._state = QrackSimulator(self.num_wires)
self._state = QrackSimulator(self.num_wires, **kwargs)

def define_wire_map(self, wires):
consecutive_wires = Wires(range(self.num_wires - 1, -1, -1))
Expand Down

0 comments on commit aded896

Please sign in to comment.