Package pyscript :: Package lib :: Module qi
[show private | hide private]
[frames | no frames]

Module pyscript.lib.qi

Package for drawing quantum circuit diagrams
Classes
Assemble Class representing the assembled objects in diagram/circuit
Boxed Draws a box around an object, the box can be placed acording to standard Area tags
Circled Draws a circle around an object,
ClassicalPath A classical path
CWire Class representing a classical wire
Detector A D shaped detector, can be given an object to surround
Gate Gate class
GateBoxedTeX Gate with TeX object enclosed in a Box
GateCircledTeX Gate with TeX object enclosed in a Circle
GBT Gate with TeX object enclosed in a Box
GCT Gate with TeX object enclosed in a Circle
Meter A meter object as in Mike'n'Ike
NoWire Class representing no wire in diagram
QWire Class representing a quantum wire

Function Summary
  classicalpath(*paths)
Return classical path
  CSIGN(**options)
Controlled sign gate
  H(**options)
Hadamard gate
  NOT(**options)
NOT gate
  RX(arg, **options)
  RY(arg, **options)
  RZ(arg, **options)
  S(**options)
  SWAP(**options)
Swap gate
  T(**options)
  X(**options)
X gate
  Y(**options)
Y gate
  Z(**options)
Z gate
  ZZ(**options)
Controlled sign gate

Variable Summary
str __revision__ = '$Revision: 1.12 $'

Function Details

classicalpath(*paths)

Parameters:
paths - 1 or more Path() objects
Returns:
classical path

CSIGN(**options)

Controlled sign gate

H(**options)

Hadamard gate

NOT(**options)

NOT gate

RX(arg, **options)

To Do: ask Alexei what this gate is

RY(arg, **options)

To Do: ask Alexei what this gate is

RZ(arg, **options)

To Do: ask Alexei what this gate is

S(**options)

To Do: ask Alexei what this gate is

SWAP(**options)

Swap gate

T(**options)

To Do: ask Alexei what this gate is

X(**options)

X gate

Y(**options)

Y gate

Z(**options)

Z gate

ZZ(**options)

Controlled sign gate

Variable Details

__revision__

Type:
str
Value:
'$Revision: 1.12 $'                                                    

Generated by Epydoc 2.0 on Mon Apr 24 17:02:35 2006 http://epydoc.sf.net