2007/8/1, Gabriel Mendoza <[EMAIL PROTECTED]>:
>
> Although placing the .tex file in the Miktex 2.6 folder still gives me an
> error that Qcircuit.tex cannot be found, I found a temporary solution by
> placing the file in the same folder as the file I am trying to typeset.
> However, trying to execute commands for the macro within a Tex code box
> such as
>
> \Qcircuit @C=1em @R=.7em {
>
> & \gate{X} & \qw
>
> }
> as shown in the tutorial gives me multiple errors. Any ideas? I have
> contacted the developers of the macro but they are unfamiliar with Lyx.
> Thanks,
> Kiefer
>
>
> On 8/1/07, Manveru <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > 2007/8/1, Gabriel Mendoza <[EMAIL PROTECTED]>:
> > >
> > > Hello, I am trying to use a quantum circuit package in Lyx:
> > > http://info.phys.unm.edu/Qcircuit/
> > > I am using Miktex on Vista. I'm not sure where to place the .tex
> > > file.
> > > Do you have any suggestions?
> > > Thanks,
> > > Kiefer
> > >
> >
> > There simple description on the page you provide:
> > http://info.phys.unm.edu/Qcircuit/
> >
> > There is section Installation.
> >
> > "For my installation of TeX (MiKTeX on Windows XP) this corresponds to
> > placing the file in C:\Program Files\texmf\tex\latex\Qcircuit and
> > executing the command initexmf --update-fndb ."
> >
> > Your MikTeX distro may by installed in C:\Program Files\MikTeX 2.6\ if
> > you were using default Windows installer.
> >
> > --
> > Manveru
> > jabber: [EMAIL PROTECTED]
> > gg: 1624001
> > http://www.manveru.pl
>
>
>
I think you should add \input{qcircuit} in the document preamble, which is a
text box in setting window available in 'Document/Settings...' menu. But I
am speculating now and If am wrong plese someone correct me.
--
Manveru
jabber: [EMAIL PROTECTED]
gg: 1624001
http://www.manveru.pl