Anders and Briegel in Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
196B

  1. from abp import qi
  2. from qutip import *
  3. import numpy as np
  4. def test_1():
  5. q = QubitCircuit(4)
  6. q.add_gate("CPHASE", 1, 2, arg_value=np.pi)
  7. #print gate_sequence_product(q.propagators())