message: updating python read the doc page
diff: @@ -4,36 +4,30 @@ XACC Python Bindings
  Example Usage
  --------------
  -Suppose you had the Scaffold plugin installed `see here <scaffold.rst>`_, and you wanted to program a simple teleportation code and launch it on TNQVM (see `here <tnqvm.rst>`_ for TNQVM installation details). To program this with the Python XACC bindings you could write the following python script:
  +Suppose you had the Rigetti plugin installed `see here <rigetti.rst>`_, and
  +you wanted to program a simple teleportation code and launch it on the Rigetti QVM
  +To program this with the XACC Python bindings you could write the following python script:
  .. code::
  import pyxacc as xacc
  # Create the source code
  - src = """__qpu__ teleport(qbit qreg){
  - cbit creg[3];
  - // qubit0 to be teleported
  - X(qreg[0]);
  - // Bell channel set up by qreg[1] and qreg[2]
  - H(qreg[1]);
  - CNOT(qreg[1],qreg[2]);
  - // Alice Bell measurement
  - CNOT(qreg[0],qreg[1]);
  - H(qreg[0]);
  - creg[0] = MeasZ(qreg[0]);
  - creg[1] = MeasZ(qreg[1]);
  - // Bob's operation base on Alice's measurement outcome
  - if (creg[0] == 1) Z(qreg[2]);
  - if (creg[1] == 1) X(qreg[2]);
  + src = """__qpu__ test(AcceleratorBuffer b) {
  + X 0
  + H 1
  + CNOT 1 2
  + CNOT 0 1
  + CNOT 1 2
  + CNOT 2 0
  + MEASURE 2 [0]
  }
  """
  -
  # Initialize the framework
  xacc.Initialize()
  - # Get reference to our simple accelerator
  - qpu = xacc.getAccelerator('tnqvm')
  + # Get reference to the Rigetti QVM
  + qpu = xacc.getAccelerator('rigetti')
  # Create some qubits to operate on
  qreg = qpu.createBuffer('qreg',3)
  @@ -48,8 +42,9 @@ Suppose you had the Scaffold plugin installed `see here <scaffold.rst>`_, and yo
  # Execute on qreg with no InstructionParameters
  k.execute(qreg, [])
  - # Display the results to standard out
  - qreg.printBuffer()
  + # Display the results
  + print(qreg.getMeasurementStrings())
  + print(qreg.getExpectationValueZ())
  # Finalize the framework
  xacc.Finalize()
  